updated tests to be executed

This commit is contained in:
Arne Döring
2018-11-14 23:14:16 +01:00
committed by Araq
parent 8ea72bdcea
commit e012eb1001
57 changed files with 341 additions and 90 deletions

View File

@@ -1,3 +1,7 @@
discard """
output: "0"
"""
# bug #5135
proc fail*[E](e: E): void =

View File

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

View File

@@ -1,3 +1,7 @@
discard """
action: compile
"""
var
e = "abc"

View File

@@ -1,4 +1,15 @@
discard """
output: '''
0
1
2
3
0
1
2
3
'''
"""
# bug #1915
import macros

View File

@@ -1,5 +1,8 @@
discard """
exitcode: 1
outputsub: "0"
"""
import tconfusinglocal
fail "foo"

View File

@@ -1,3 +1,11 @@
discard """
output: '''
1
yay
12
'''
"""
template withOpenFile(f: untyped, filename: string, mode: FileMode,
actions: untyped): untyped =