Files
Nim/testament/tests/shouldfail/treject.nim
n5m 066f3ebc2a add tests for Testament "reject" action (#15709)
* add test for reject action

* highlight that a compilation failure is expected

* add the converse test for action=reject

* add trailing newline

* fix wording
2020-10-27 08:48:14 +01:00

8 lines
171 B
Nim

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