List.reverse

This commit is contained in:
Folkert 2023-04-30 21:50:26 +02:00
parent 1b5d88b002
commit cd8c865a66
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 66 additions and 2 deletions

View file

@ -1620,7 +1620,7 @@ fn list_repeat() {
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
fn list_reverse() {
assert_evals_to!(
"List.reverse [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]",
@ -1636,7 +1636,7 @@ fn list_reverse() {
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
fn list_reverse_empty_list_of_int() {
assert_evals_to!(
indoc!(