make run the default action of a test in tester
This commit is contained in:
parent
610283b9b0
commit
031bfdec6f
50 changed files with 313 additions and 46 deletions
|
|
@ -1,3 +1,9 @@
|
|||
discard """
|
||||
output: '''
|
||||
(v: 3)
|
||||
'''
|
||||
"""
|
||||
|
||||
import typetraits
|
||||
type
|
||||
A[T] = ref object
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
discard """
|
||||
targets: "c cpp js"
|
||||
ccodecheck: "'HELLO'"
|
||||
action: compile
|
||||
"""
|
||||
|
||||
when defined(JS):
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
|
||||
discard """
|
||||
output: '''
|
||||
2
|
||||
2
|
||||
2
|
||||
'''
|
||||
"""
|
||||
|
||||
# bug 2659
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
action: compile
|
||||
"""
|
||||
|
||||
# bug #2233
|
||||
type MalType = object
|
||||
fun: proc: MalType
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
discard """
|
||||
output: '''
|
||||
123
|
||||
baz
|
||||
'''
|
||||
"""
|
||||
|
||||
# bug #5147
|
||||
|
||||
proc foo[T](t: T) =
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
|
||||
discard """
|
||||
output: '''
|
||||
vidx 18
|
||||
0,0
|
||||
'''
|
||||
"""
|
||||
|
||||
# bug #4626
|
||||
var foo: (int, array[1, int]) # Tuple must be of length > 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue