diff options
author | Aman Gupta <aman@tmm1.net> | 2015-10-06 15:47:07 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2015-10-06 15:47:07 -0700 |
commit | 2240fd3f3fb32fc4b1c8c7815d6d59982df44406 (patch) | |
tree | a4404515948e6430eebff3159c657ba0eed388b7 /tests/misc | |
parent | eea8d604d07aae569843ebccc5bd7791cff40567 (diff) | |
download | Nim-2240fd3f3fb32fc4b1c8c7815d6d59982df44406.tar.gz |
add tfile/tline assertions for template expansion file/line
Diffstat (limited to 'tests/misc')
-rw-r--r-- | tests/misc/tnot.nim | 7 |
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() - - - |