shithub: mc

Download patch

ref: 78a29fd778b1eb2a6258116a194434452d521a80
parent: 6213b1e182c21e0903fcdae8e32ec5e93b61912c
author: Ori Bernstein <[email protected]>
date: Tue Jun 16 19:22:59 EDT 2015

Fix up test.

    Got a name wrong.

--- a/libstd/test/try.myr
+++ b/libstd/test/try.myr
@@ -3,6 +3,6 @@
 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")
 }