Files
Nim/tests/testament/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

7 lines
140 B
Nim

discard """
action: "reject"
"""
# this line does not compile, so the test should pass, since action="reject"
let x: int = "type mismatch"