mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Cleanup
This commit is contained in:
parent
5f8834d6b4
commit
afe49cf570
3 changed files with 5 additions and 22 deletions
|
@ -5,9 +5,6 @@
|
|||
// we actually want to compare against the literal float bits
|
||||
#![allow(clippy::float_cmp)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate pretty_assertions;
|
||||
|
||||
#[macro_use]
|
||||
extern crate indoc;
|
||||
|
||||
|
@ -123,14 +120,12 @@ fn compiles_to_ir(test_name: &str, src: &str) {
|
|||
|
||||
let can_problems = loaded.can_problems.remove(&home).unwrap_or_default();
|
||||
let type_problems = loaded.type_problems.remove(&home).unwrap_or_default();
|
||||
let mono_problems = loaded.mono_problems.remove(&home).unwrap_or_default();
|
||||
|
||||
if !can_problems.is_empty() {
|
||||
println!("Ignoring {} canonicalization problems", can_problems.len());
|
||||
}
|
||||
|
||||
assert!(type_problems.is_empty());
|
||||
assert_eq!(mono_problems, Vec::new());
|
||||
|
||||
debug_assert_eq!(exposed_to_host.values.len(), 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue