summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/lean/hashmap_on_disk/Main.lean9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/lean/hashmap_on_disk/Main.lean b/tests/lean/hashmap_on_disk/Main.lean
index 9fe6cf4a..e87a933a 100644
--- a/tests/lean/hashmap_on_disk/Main.lean
+++ b/tests/lean/hashmap_on_disk/Main.lean
@@ -1,5 +1,10 @@
-import «HashmapMain»
import Base.Primitives
+import HashmapMain.Funs
+
+#eval hashmap_test1_fwd == .ret ()
def main : IO Unit :=
- IO.println s!"Hello, {hello}!"
+ if hashmap_test1_fwd == .ret () then
+ IO.println s!"Test OK"
+ else
+ throw (IO.userError s!"Test failed")