updated tests to be executed
This commit is contained in:
parent
8ea72bdcea
commit
e012eb1001
57 changed files with 341 additions and 90 deletions
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
output: "0"
|
||||
"""
|
||||
|
||||
|
||||
# bug #5135
|
||||
proc fail*[E](e: E): void =
|
||||
|
|
|
|||
|
|
@ -1,13 +1,17 @@
|
|||
# bug #1940
|
||||
|
||||
discard """
|
||||
nimout: '''===
|
||||
nimout: '''
|
||||
===
|
||||
merge (A) with (B)
|
||||
merge (A B) with (C)
|
||||
merge (A B C) with (D)
|
||||
merge (A B C D) with (E)
|
||||
merge (A B C D E) with (F)
|
||||
==='''
|
||||
===
|
||||
'''
|
||||
|
||||
output: "A B C D E F"
|
||||
"""
|
||||
|
||||
type SqlStmt = tuple
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
action: compile
|
||||
"""
|
||||
|
||||
|
||||
var
|
||||
e = "abc"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
|
||||
discard """
|
||||
output: '''
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
'''
|
||||
"""
|
||||
# bug #1915
|
||||
|
||||
import macros
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
discard """
|
||||
exitcode: 1
|
||||
outputsub: "0"
|
||||
"""
|
||||
|
||||
import tconfusinglocal
|
||||
|
||||
|
||||
fail "foo"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
discard """
|
||||
output: '''
|
||||
1
|
||||
yay
|
||||
12
|
||||
'''
|
||||
"""
|
||||
|
||||
|
||||
template withOpenFile(f: untyped, filename: string, mode: FileMode,
|
||||
actions: untyped): untyped =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue