mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 18:02:05 +00:00
* add test for reject action * highlight that a compilation failure is expected * add the converse test for action=reject * add trailing newline * fix wording
8 lines
171 B
Nim
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
|