summary refs log tree commit diff stats
path: root/tests/ccgbugs/tstringslice.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-03-12 11:40:14 +0100
committerAraq <rumpf_a@web.de>2015-03-12 11:40:14 +0100
commit0a0126d49aecc7915ae115f267f99d9510c70bdb (patch)
tree037007d87b783f7e7174a874c810fc9ecac91058 /tests/ccgbugs/tstringslice.nim
parent3aad16e337a18861d76df24f8137d2dbe1144ac2 (diff)
downloadNim-0a0126d49aecc7915ae115f267f99d9510c70bdb.tar.gz
fixes #794 properly
Diffstat (limited to 'tests/ccgbugs/tstringslice.nim')
-rw-r--r--tests/ccgbugs/tstringslice.nim15
1 files changed, 12 insertions, 3 deletions
diff --git a/tests/ccgbugs/tstringslice.nim b/tests/ccgbugs/tstringslice.nim
index d4d1a2294..00c1adf74 100644
--- a/tests/ccgbugs/tstringslice.nim
+++ b/tests/ccgbugs/tstringslice.nim
@@ -1,9 +1,18 @@
 discard """
-  disabled: "true"
+  output: '''1
+1234
+1234
+2
+234
+234
+3
+34
+34
+4
+4
+4'''
 """
 
-# Now the compiler fails with OOM. yay.
-
 # bug #794
 type TRange = range[0..3]