summaryrefslogtreecommitdiff
path: root/lib/std/test/fmt.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-14 20:26:22 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-14 20:26:22 -0800
commit288e48ee60b049206d1dd8ce250bf09c92452e7b (patch)
treecef33a5e330c3dcad42f6602b3b1ec8b68980c68 /lib/std/test/fmt.myr
parent6538ea2c5b4daf1fc325144fbb0c9bc779ba3130 (diff)
downloadmc-288e48ee60b049206d1dd8ce250bf09c92452e7b.tar.gz
Fix unit tests.
The language got a tad more restrictive.
Diffstat (limited to 'lib/std/test/fmt.myr')
-rw-r--r--lib/std/test/fmt.myr2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/test/fmt.myr b/lib/std/test/fmt.myr
index fbae79a..0352b00 100644
--- a/lib/std/test/fmt.myr
+++ b/lib/std/test/fmt.myr
@@ -87,6 +87,8 @@ const installed = {
var x : int
var p : pair
+ x = 0
+ p = [.x=0, .y=0]
std.fmtinstall(std.typeof(x), intfmt, [][:])
std.fmtinstall(std.typeof(p), pairfmt, [
("x", true),