summaryrefslogtreecommitdiff
path: root/libstd
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-16 23:22:59 -0700
committerOri Bernstein <ori@eigenstate.org>2015-06-16 23:22:59 -0700
commit78a29fd778b1eb2a6258116a194434452d521a80 (patch)
tree492731e2340fe5f0f838539e50536edb96d30071 /libstd
parent6213b1e182c21e0903fcdae8e32ec5e93b61912c (diff)
downloadmc-78a29fd778b1eb2a6258116a194434452d521a80.tar.gz
Fix up test.
Got a name wrong.
Diffstat (limited to 'libstd')
-rw-r--r--libstd/test/try.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstd/test/try.myr b/libstd/test/try.myr
index ef2c63f..525b95c 100644
--- a/libstd/test/try.myr
+++ b/libstd/test/try.myr
@@ -3,6 +3,6 @@ use std
const main = {
var x = `std.Some 123
var r : std.result(int, byte[:]) = `std.Ok 666
- std.assert(std.val(x) == 123, "expected 123 from try")
+ std.assert(std.get(x) == 123, "expected 123 from try")
std.assert(std.try(r) == 666, "expected 123 from try")
}