mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
make run the default action of a test in tester
This commit is contained in:
@@ -1 +1,5 @@
|
||||
discard """
|
||||
action: compile
|
||||
"""
|
||||
|
||||
import treorder
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
discard """
|
||||
output: '''
|
||||
abc
|
||||
xyz
|
||||
B.foo
|
||||
'''
|
||||
"""
|
||||
|
||||
# bug #1595, #1612
|
||||
|
||||
import mexport2a
|
||||
|
||||
proc main() =
|
||||
echo "Import Test, two lines should follow. One with abc and one with xyz."
|
||||
printAbc()
|
||||
printXyz()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user