List.sortWith and friends

This commit is contained in:
Folkert 2023-08-27 21:46:46 +02:00
parent 315e9871c1
commit 520bac2905
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 235 additions and 21 deletions

View file

@ -2909,7 +2909,7 @@ fn cleanup_because_exception() {
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
fn list_sort_with() {
assert_evals_to!(
"List.sortWith [] Num.compare",
@ -2929,7 +2929,7 @@ fn list_sort_with() {
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
fn list_sort_asc() {
assert_evals_to!(
"List.sortAsc []",
@ -2944,7 +2944,7 @@ fn list_sort_asc() {
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
fn list_sort_desc() {
assert_evals_to!(
"List.sortDesc []",