Files
Nim/tests/testament/treject.nim
n5m 33375aff15 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

(cherry picked from commit 066f3ebc2a)
2020-11-05 09:04:57 +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"