summary refs log tree commit diff stats
path: root/tests/misc
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2015-10-06 15:47:07 -0700
committerAman Gupta <aman@tmm1.net>2015-10-06 15:47:07 -0700
commit2240fd3f3fb32fc4b1c8c7815d6d59982df44406 (patch)
treea4404515948e6430eebff3159c657ba0eed388b7 /tests/misc
parenteea8d604d07aae569843ebccc5bd7791cff40567 (diff)
downloadNim-2240fd3f3fb32fc4b1c8c7815d6d59982df44406.tar.gz
add tfile/tline assertions for template expansion file/line
Diffstat (limited to 'tests/misc')
-rw-r--r--tests/misc/tnot.nim7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/misc/tnot.nim b/tests/misc/tnot.nim
index 60d23c035..8c75c6bc0 100644
--- a/tests/misc/tnot.nim
+++ b/tests/misc/tnot.nim
@@ -1,6 +1,6 @@
 discard """
-  file: "tnot.nim"
-  line: 14
+  tfile: "tnot.nim"
+  tline: 14
   errormsg: "type mismatch"
 """
 # BUG: following compiles, but should not:
@@ -17,6 +17,3 @@ proc main =
         echo "No"
 
 main()
-
-
-