diff options
author | jlp765 <jlp765@gmail.com> | 2016-11-01 13:41:31 +1000 |
---|---|---|
committer | jlp765 <jlp765@gmail.com> | 2016-11-01 13:41:31 +1000 |
commit | 55b28f86e1fe0b7dc151f93692a987b4a48e98ac (patch) | |
tree | f21b99d26c714284d2cb557e01ae623b98681049 /tests/stdlib | |
parent | 0cb5adb49496d971742bd4fdfe98ac3db4dedb94 (diff) | |
download | Nim-55b28f86e1fe0b7dc151f93692a987b4a48e98ac.tar.gz |
add test: echo a seq with a nil value
Diffstat (limited to 'tests/stdlib')
-rw-r--r-- | tests/stdlib/tnilecho.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/stdlib/tnilecho.nim b/tests/stdlib/tnilecho.nim new file mode 100644 index 000000000..147b5e492 --- /dev/null +++ b/tests/stdlib/tnilecho.nim @@ -0,0 +1,2 @@ +var x = @["1", nil, "3"] +doAssert $x == "@[1, nil, 3]" |