test-runner for caas multi-step tests
This commit is contained in:
parent
ac9db5d684
commit
a8e12afc76
9 changed files with 122 additions and 4 deletions
7
tests/caas/basic-recompile.txt
Normal file
7
tests/caas/basic-recompile.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
main.nim
|
||||
> c
|
||||
SuccessX
|
||||
> c
|
||||
! Processing
|
||||
SuccessX
|
||||
|
||||
3
tests/caas/imported.nim
Normal file
3
tests/caas/imported.nim
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
proc `+++`*(a,b: string): string =
|
||||
return a & " " & b
|
||||
|
||||
7
tests/caas/main.nim
Normal file
7
tests/caas/main.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import imported, strutils
|
||||
|
||||
proc main =
|
||||
var t1 = "text"
|
||||
var t2 = t1.toUpper
|
||||
echo(t1 +++ t2)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue