summary refs log tree commit diff stats
path: root/tests/stdlib/tnilecho.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/tnilecho.nim')
-rw-r--r--tests/stdlib/tnilecho.nim8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/stdlib/tnilecho.nim b/tests/stdlib/tnilecho.nim
index 147b5e492..ec8d71dab 100644
--- a/tests/stdlib/tnilecho.nim
+++ b/tests/stdlib/tnilecho.nim
@@ -1,2 +1,6 @@
-var x = @["1", nil, "3"]
-doAssert $x == "@[1, nil, 3]"
+discard """
+  output: ""
+"""
+
+var x = @["1", "", "3"]
+doAssert $x == """@["1", "", "3"]"""