enable empty list test and fix list init

This commit is contained in:
Brendan Hansknecht 2022-07-20 16:45:04 -07:00
parent cfe1d3d893
commit 8b672a3fcd
No known key found for this signature in database
GPG key ID: A2E3B0B6E483038E
2 changed files with 6 additions and 6 deletions

View file

@ -1,8 +1,8 @@
#[cfg(feature = "gen-llvm")]
use crate::helpers::llvm::assert_evals_to;
// #[cfg(feature = "gen-dev")]
// use crate::helpers::dev::assert_evals_to;
#[cfg(feature = "gen-dev")]
use crate::helpers::dev::assert_evals_to;
#[cfg(feature = "gen-wasm")]
use crate::helpers::wasm::assert_evals_to;
@ -25,7 +25,7 @@ fn roc_list_construction() {
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
fn empty_list_literal() {
assert_evals_to!("[]", RocList::<i64>::from_slice(&[]), RocList<i64>);
}