This commit is contained in:
Ayaz Hafiz 2022-04-28 15:47:19 -04:00 committed by ayazhafiz
parent 5f8834d6b4
commit afe49cf570
3 changed files with 5 additions and 22 deletions

View file

@ -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);