summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-08-15 16:31:56 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-08-15 16:31:56 +0200
commit0da91aa744703b816b1a9fd64f36b0de23145331 (patch)
treeba1fd666152b23a4d3f62fda7f8a4521909c38af /tests/stdlib
parent94684488d61143b8012b8b97e9f48777985aad42 (diff)
downloadNim-0da91aa744703b816b1a9fd64f36b0de23145331.tar.gz
changes how the now illegal 'string == nil' comparison is detected
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/tnilecho.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/stdlib/tnilecho.nim b/tests/stdlib/tnilecho.nim
index 0f8a38438..ec8d71dab 100644
--- a/tests/stdlib/tnilecho.nim
+++ b/tests/stdlib/tnilecho.nim
@@ -1,2 +1,6 @@
+discard """
+  output: ""
+"""
+
 var x = @["1", "", "3"]
 doAssert $x == """@["1", "", "3"]"""