mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
add repl_eval test
This commit is contained in:
parent
377e57bed9
commit
4f5237fcd8
@ -175,6 +175,13 @@ mod repl_eval {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn list_contains() {
|
||||
expect_success("List.contains [] 0", "False : Bool");
|
||||
expect_success("List.contains [ 1, 2, 3 ] 2", "True : Bool");
|
||||
expect_success("List.contains [ 1, 2, 3 ] 4", "False : Bool");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn basic_1_field_i64_record() {
|
||||
// Even though this gets unwrapped at runtime, the repl should still
|
||||
|
Loading…
Reference in New Issue
Block a user