summary refs log tree commit diff stats
path: root/tests/ccgbugs/tgeneric_smallobj_asgn_opt.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ccgbugs/tgeneric_smallobj_asgn_opt.nim')
-rw-r--r--tests/ccgbugs/tgeneric_smallobj_asgn_opt.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ccgbugs/tgeneric_smallobj_asgn_opt.nim b/tests/ccgbugs/tgeneric_smallobj_asgn_opt.nim
index 919dc3fc1..3788b9985 100644
--- a/tests/ccgbugs/tgeneric_smallobj_asgn_opt.nim
+++ b/tests/ccgbugs/tgeneric_smallobj_asgn_opt.nim
@@ -1,5 +1,5 @@
 discard """
-  output: '''false'''
+  output: "done generic smallobj asgn opt"
 """
 
 # bug #5402
@@ -23,4 +23,5 @@ proc newListOfContainers[T](): ListOfContainers[T] =
   result.list = initDoublyLinkedList[Container[T]]()
 
 let q = newListOfContainers[int64]()
-echo q.contains(123)
+if not q.contains(123):
+  echo "done generic smallobj asgn opt"