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,4 +1,15 @@
|
|||
|
||||
discard """
|
||||
output:'''
|
||||
void
|
||||
(Field0: "string", Field1: "string")
|
||||
1 mod 7
|
||||
@[2, 2, 2, 2, 2]
|
||||
impl 2 called
|
||||
asd
|
||||
Foo
|
||||
Bar
|
||||
'''
|
||||
"""
|
||||
|
||||
import typetraits, macros
|
||||
|
||||
|
|
@ -145,6 +156,3 @@ block t3338:
|
|||
var t2 = Bar[int32]()
|
||||
t2.add()
|
||||
doAssert t2.x == 5
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,13 @@
|
|||
discard """
|
||||
output: '''
|
||||
proc Base
|
||||
proc Child
|
||||
method Base
|
||||
yield Base
|
||||
yield Child
|
||||
'''
|
||||
"""
|
||||
|
||||
import typetraits
|
||||
|
||||
type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue