summary refs log tree commit diff stats
path: root/tests/macros/tquotedo.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-13 15:21:14 +0100
committerAraq <rumpf_a@web.de>2018-11-23 11:58:28 +0100
commit031bfdec6f7798b99cc7bf9473a08048228c3d2a (patch)
treebd9b3ee9fbbaca154f37649f7f3cabe59cfdc349 /tests/macros/tquotedo.nim
parent610283b9b0d48b1714bef2969b402b77410ce4dd (diff)
downloadNim-031bfdec6f7798b99cc7bf9473a08048228c3d2a.tar.gz
make run the default action of a test in tester
Diffstat (limited to 'tests/macros/tquotedo.nim')
-rw-r--r--tests/macros/tquotedo.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/macros/tquotedo.nim b/tests/macros/tquotedo.nim
index b663b81ba..cd1f69116 100644
--- a/tests/macros/tquotedo.nim
+++ b/tests/macros/tquotedo.nim
@@ -1,3 +1,11 @@
+discard """
+output: '''
+123
+Hallo Welt
+Hallo Welt
+'''
+"""
+
 import macros
 
 macro mac(): untyped =