used correct syntax for multiline results in tests
And also modified the runner to actually run them in JS.
This commit is contained in:
parent
1d9f680b78
commit
129fcb327f
3 changed files with 6 additions and 10 deletions
|
|
@ -1,8 +1,8 @@
|
|||
discard """
|
||||
file: "tfinally.nim"
|
||||
output: "came
|
||||
output: '''came
|
||||
here
|
||||
3"
|
||||
3'''
|
||||
"""
|
||||
# Test return in try statement:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
discard """
|
||||
file: "tfinally2.nim"
|
||||
output: "A
|
||||
output: '''A
|
||||
B
|
||||
C
|
||||
D"
|
||||
D'''
|
||||
"""
|
||||
# Test break in try statement:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue