add repl_eval test

This commit is contained in:
lrosa007 2020-11-05 08:31:33 -05:00
parent 377e57bed9
commit 4f5237fcd8

View File

@ -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