summary refs log tree commit diff stats
path: root/tests/newconfig/tfoo.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/newconfig/tfoo.nim')
-rw-r--r--tests/newconfig/tfoo.nim11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/newconfig/tfoo.nim b/tests/newconfig/tfoo.nim
index 2e10167b1..0c6ded470 100644
--- a/tests/newconfig/tfoo.nim
+++ b/tests/newconfig/tfoo.nim
@@ -1,12 +1,13 @@
 discard """
-  cmd: "nim default $file"
-  output: '''hello world! 0.5'''
-  msg: '''[NimScript] exec: gcc -v'''
+  cmd: "nim default --hint:cc:off --hint:cc $file"
+  output: '''hello world! 0.5 true'''
+  nimout: '''[NimScript] exec: gcc -v'''
 """
 
 when not defined(definedefine):
   {.fatal: "wrong nim script configuration".}
 
-import math
+import math, mfriends
 
-echo "hello world! ", ln 2.0
+discard gen[int]()
+echo "hello world! ", ln 2.0, " ", compileOption("opt", "speed")