testament: add nimoutFull: bool spec (#17867)
* testament: add `nimoutFull: bool` spec * PRTEMP * works * cleanup * add test for #12741 * PRTEMP failing test * remove unrelated changes * changelog
This commit is contained in:
parent
66022423aa
commit
a236002e54
7 changed files with 43 additions and 9 deletions
15
testament/tests/shouldfail/tnimoutfull.nim
Normal file
15
testament/tests/shouldfail/tnimoutfull.nim
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
discard """
|
||||
targets: "c"
|
||||
nimout: '''
|
||||
msg1
|
||||
msg2
|
||||
'''
|
||||
action: compile
|
||||
nimoutFull: true
|
||||
"""
|
||||
|
||||
# should fail because `msg3` is not in nimout and `nimoutFill: true` was given
|
||||
static:
|
||||
echo "msg1"
|
||||
echo "msg2"
|
||||
echo "msg3"
|
||||
Loading…
Add table
Add a link
Reference in a new issue