diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-07-22 12:29:05 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-07-22 22:31:09 +0200 |
commit | fc0bb828027d0893435613668fa9bb12e47dd169 (patch) | |
tree | 1532cd53da481cdfab7d27cc6c82f49e7af5b9d3 /tests | |
parent | c4fb9f052bf975a4fee2733bfd34068ab1440955 (diff) | |
download | Nim-fc0bb828027d0893435613668fa9bb12e47dd169.tar.gz |
fixes #4494
Diffstat (limited to 'tests')
-rw-r--r-- | tests/stdlib/tunittest.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/stdlib/tunittest.nim b/tests/stdlib/tunittest.nim index 73113ac68..e87cd3508 100644 --- a/tests/stdlib/tunittest.nim +++ b/tests/stdlib/tunittest.nim @@ -83,3 +83,9 @@ suite "suite with both": test "unittest with both 2": check c == 2 + +suite "bug #4494": + test "Uniqueness check": + var tags = @[1, 2, 3, 4, 5] + check: + allIt(0..3, tags[it] != tags[it + 1]) |