make run the default action of a test in tester

This commit is contained in:
Arne Döring 2018-11-13 15:21:14 +01:00 • committed by Araq
commit 031bfdec6f
50 changed files with 313 additions and 46 deletions

View file

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

View file

@ -1,3 +1,13 @@
discard """
output: '''
proc Base
proc Child
method Base
yield Base
yield Child
'''
"""
import typetraits
type