summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-03-05 13:38:32 +0100
committerAraq <rumpf_a@web.de>2018-03-05 13:38:32 +0100
commit15e044416f53f3d87d53a74618b2fc4bb471eceb (patch)
tree5c06c4e13bde1e8b6b3c14d86e1d5abd21f76d3e /tests
parent8572085cc721a17801b8e7bfdd61d661ef4cc98c (diff)
downloadNim-15e044416f53f3d87d53a74618b2fc4bb471eceb.tar.gz
fixes #7291
Diffstat (limited to 'tests')
-rw-r--r--tests/overload/tsystemcmp.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/overload/tsystemcmp.nim b/tests/overload/tsystemcmp.nim
index 68cbf9fa7..aa761b759 100644
--- a/tests/overload/tsystemcmp.nim
+++ b/tests/overload/tsystemcmp.nim
@@ -1,12 +1,14 @@
 discard """
   cmd: r"nim c --hints:on $options --threads:on $file"
+  output: '''@["", "a", "ha", "hi", "ho", "huu"]'''
 """
 
 import algorithm
 
 # bug #1657
-var modules = @["hi", "ho", "ha", "huu"]
+var modules = @["hi", "ho", "", "a", "ha", "huu"]
 sort(modules, system.cmp)
+echo modules
 
 type
   MyType = object