summary refs log tree commit diff stats
path: root/tests/js/trepr.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/trepr.nim')
-rw-r--r--tests/js/trepr.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/js/trepr.nim b/tests/js/trepr.nim
index c63b64d3a..a562ad63b 100644
--- a/tests/js/trepr.nim
+++ b/tests/js/trepr.nim
@@ -283,7 +283,7 @@ block bunch:
     result[] = b
 
   var
-    aa: A
+    aa = default(A)
     bb: B = B(a: "inner", b: @['o', 'b', 'j'])
     cc: A = A(a: 12, b: 1, c: 1.2, d: '\0', e: eC,
                 f: "hello", g: {'A'}, h: {2'i16},
@@ -303,7 +303,7 @@ g = {},
 h = {},
 i = ["", "", ""],
 j = @[],
-k = 0,
+k = -12,
 l = [a = "",
 b = @[]],
 m = nil,