mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Update repl tests
This commit is contained in:
parent
bd5b62f7e5
commit
68da0a7b1e
1 changed files with 3 additions and 3 deletions
|
@ -403,7 +403,7 @@ fn list_contains() {
|
|||
#[cfg(not(feature = "wasm"))]
|
||||
#[test]
|
||||
fn list_sum() {
|
||||
expect_success("List.sum []", "0 : Num *");
|
||||
expect_success("List.sum []", "0 : Num a");
|
||||
expect_success("List.sum [1, 2, 3]", "6 : Num *");
|
||||
expect_success("List.sum [1.1, 2.2, 3.3]", "6.6 : Float *");
|
||||
}
|
||||
|
@ -417,7 +417,7 @@ fn list_first() {
|
|||
);
|
||||
expect_success(
|
||||
"List.first []",
|
||||
"Err ListWasEmpty : Result * [ListWasEmpty]*",
|
||||
"Err ListWasEmpty : Result a [ListWasEmpty]*",
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -431,7 +431,7 @@ fn list_last() {
|
|||
|
||||
expect_success(
|
||||
"List.last []",
|
||||
"Err ListWasEmpty : Result * [ListWasEmpty]*",
|
||||
"Err ListWasEmpty : Result a [ListWasEmpty]*",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue