diff options
Diffstat (limited to 'testament/tests')
-rw-r--r-- | testament/tests/shouldfail/treject.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testament/tests/shouldfail/treject.nim b/testament/tests/shouldfail/treject.nim new file mode 100644 index 000000000..aaf2b4a63 --- /dev/null +++ b/testament/tests/shouldfail/treject.nim @@ -0,0 +1,7 @@ +discard """ +action: "reject" +""" + +# Because we set action="reject", we expect this line not to compile. But the +# line does compile, therefore the test fails. +assert true |