diff options
| author | Arnaud Bailly <arnaud.bailly@iohk.io> | 2024-09-24 16:37:18 +0200 |
|---|---|---|
| committer | Arnaud Bailly <arnaud.bailly@iohk.io> | 2024-09-24 16:37:18 +0200 |
| commit | 530fc2be095873b2cdc112216459c462e3e4b462 (patch) | |
| tree | b9c2cc899f117febea7718c576c1640fc2510ea9 /rust/tests | |
| parent | c06a076741ae0ad77b21fe58cf0f31e64d1d30d2 (diff) | |
| download | lambda-nantes-530fc2be095873b2cdc112216459c462e3e4b462.tar.gz | |
Add integration test for application
Diffstat (limited to 'rust/tests')
| -rw-r--r-- | rust/tests/interpret_test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/tests/interpret_test.rs b/rust/tests/interpret_test.rs index 5c3108a..09c74fe 100644 --- a/rust/tests/interpret_test.rs +++ b/rust/tests/interpret_test.rs @@ -2,6 +2,6 @@ use lambda::run; #[test] fn interpreter_can_read_and_interpret_file() { - let result = run("sample/test.txt"); - assert_eq!("12", result); + assert_eq!("12", run("sample/test.txt")); + assert_eq!("true", run("sample/test_full.txt")); } |
