mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 03:42:17 +00:00
remove old List.range tests in favor of expect
This commit is contained in:
parent
46546f5a1e
commit
2ff8dad1c9
1 changed files with 0 additions and 16 deletions
|
@ -2808,22 +2808,6 @@ fn cleanup_because_exception() {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
fn list_range() {
|
||||
assert_evals_to!(
|
||||
"List.range 0 -1",
|
||||
RocList::<i64>::from_slice(&[]),
|
||||
RocList<i64>
|
||||
);
|
||||
assert_evals_to!("List.range 0 0", RocList::from_slice(&[0]), RocList<i64>);
|
||||
assert_evals_to!(
|
||||
"List.range 0 5",
|
||||
RocList::from_slice(&[0, 1, 2, 3, 4]),
|
||||
RocList<i64>
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
fn list_sort_with() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue