summary refs log tree commit diff stats
path: root/testament/tests/shouldfail/tline.nim
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-04-05 04:47:28 +0800
committerGitHub <noreply@github.com>2021-04-04 13:47:28 -0700
commit70a30317f7b0a5711e248e0653b50d1c057bd16b (patch)
tree80c3b1f52264cabe83c0ba28627a0b8d89f09ad5 /testament/tests/shouldfail/tline.nim
parentf02e159b56aaa63713991c0a7f8e7125e91c832e (diff)
downloadNim-70a30317f7b0a5711e248e0653b50d1c057bd16b.tar.gz
fix #16693: testament spec nimout too lax (#16698)
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Diffstat (limited to 'testament/tests/shouldfail/tline.nim')
-rw-r--r--testament/tests/shouldfail/tline.nim7
1 files changed, 4 insertions, 3 deletions
diff --git a/testament/tests/shouldfail/tline.nim b/testament/tests/shouldfail/tline.nim
index f7a09875c..7f7e90896 100644
--- a/testament/tests/shouldfail/tline.nim
+++ b/testament/tests/shouldfail/tline.nim
@@ -1,7 +1,8 @@
 discard """
-errormsg: "undeclared identifier: 'undeclared'"
-line: 9
-column: 6
+  targets: "c"
+  errormsg: "undeclared identifier: 'undeclared'"
+  line: 10
+  column: 6
 """
 
 # test should fail because the line directive is wrong