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
This commit is contained in:
n5m 2020-10-27 07:48:14 +00:00 • committed by GitHub
commit 066f3ebc2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions

View file

@ -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