diff --git a/crates/compiler/test_gen/src/gen_list.rs b/crates/compiler/test_gen/src/gen_list.rs index 13db9276df..be9b6a4011 100644 --- a/crates/compiler/test_gen/src/gen_list.rs +++ b/crates/compiler/test_gen/src/gen_list.rs @@ -1,6 +1,5 @@ #[cfg(feature = "gen-llvm")] use crate::helpers::llvm::assert_evals_to; -use crate::helpers::llvm::do_yoo; #[cfg(feature = "gen-dev")] use crate::helpers::dev::assert_evals_to; @@ -59,7 +58,7 @@ fn bool_list_literal() { // use both True and False; only using one of them causes the list to in practice be // of type `List [True]` or `List [False]`, those are tag unions with one constructor // and not fields, and don't have a runtime representation. - /*assert_evals_to!( + assert_evals_to!( indoc!( r#" false : Bool @@ -89,9 +88,9 @@ fn bool_list_literal() { ), RocList::from_slice(&[false; 1]), RocList - );*/ - dbg!("testyoo"); - do_yoo!( + ); + + assert_evals_too!( indoc!( r#" true : Bool @@ -101,11 +100,10 @@ fn bool_list_literal() { "# ), RocList::from_slice(&[1u8; 23]), - RocList, - |l: RocList| unsafe { std::mem::transmute::, RocList>(l) } + RocList ); - /*assert_evals_to!( + assert_evals_to!( indoc!( r#" true : Bool @@ -129,7 +127,7 @@ fn bool_list_literal() { ), RocList::from_slice(&[[true, true, true, true, true, true, true, true]; 23]), RocList<[bool; 8]> - );*/ + ); } #[test]