summary refs log tree commit diff stats
path: root/testament/tests/shouldfail/tcolumn.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/tcolumn.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/tcolumn.nim')
-rw-r--r--testament/tests/shouldfail/tcolumn.nim7
1 files changed, 4 insertions, 3 deletions
diff --git a/testament/tests/shouldfail/tcolumn.nim b/testament/tests/shouldfail/tcolumn.nim
index 89482e673..b79ec52a4 100644
--- a/testament/tests/shouldfail/tcolumn.nim
+++ b/testament/tests/shouldfail/tcolumn.nim
@@ -1,7 +1,8 @@
 discard """
-errormsg: "undeclared identifier: 'undeclared'"
-line: 8
-column: 7
+  errormsg: "undeclared identifier: 'undeclared'"
+  targets: "c"
+  line: 9
+  column: 7
 """
 
 # test should fail because the line directive is wrong