This commit is contained in:
Folkert 2022-05-04 19:29:24 +02:00
parent 5d91ad9254
commit 42ee775fce
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 218 additions and 109 deletions

View file

@ -2644,11 +2644,7 @@ fn list_sort_with() {
#[test]
#[cfg(any(feature = "gen-llvm"))]
fn list_sort_asc() {
assert_evals_to!(
"List.sortAsc []",
RocList::<i64>::from_slice(&[]),
RocList<i64>
);
// assert_evals_to!( "List.sortAsc []", RocList::<i64>::from_slice(&[]), RocList<i64>);
assert_evals_to!(
"List.sortAsc [ 4,3,2,1 ]",
RocList::from_slice(&[1, 2, 3, 4]),