From 55b28f86e1fe0b7dc151f93692a987b4a48e98ac Mon Sep 17 00:00:00 2001 From: jlp765 Date: Tue, 1 Nov 2016 13:41:31 +1000 Subject: [PATCH] add test: echo a seq with a nil value --- tests/stdlib/tnilecho.nim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/stdlib/tnilecho.nim diff --git a/tests/stdlib/tnilecho.nim b/tests/stdlib/tnilecho.nim new file mode 100644 index 0000000000..147b5e4925 --- /dev/null +++ b/tests/stdlib/tnilecho.nim @@ -0,0 +1,2 @@ +var x = @["1", nil, "3"] +doAssert $x == "@[1, nil, 3]"