summaryrefslogtreecommitdiff
path: root/libstd/test/try.myr
diff options
context:
space:
mode:
Diffstat (limited to 'libstd/test/try.myr')
-rw-r--r--libstd/test/try.myr8
1 files changed, 0 insertions, 8 deletions
diff --git a/libstd/test/try.myr b/libstd/test/try.myr
deleted file mode 100644
index 525b95c..0000000
--- a/libstd/test/try.myr
+++ /dev/null
@@ -1,8 +0,0 @@
-use std
-
-const main = {
- var x = `std.Some 123
- var r : std.result(int, byte[:]) = `std.Ok 666
- std.assert(std.get(x) == 123, "expected 123 from try")
- std.assert(std.try(r) == 666, "expected 123 from try")
-}