test-runner for caas multi-step tests

This commit is contained in:
Zahary Karadjov 2013-05-04 01:04:02 +03:00
commit a8e12afc76
9 changed files with 122 additions and 4 deletions

View file

@ -0,0 +1,7 @@
main.nim
> c
SuccessX
> c
! Processing
SuccessX

3
tests/caas/imported.nim Normal file
View file

@ -0,0 +1,3 @@
proc `+++`*(a,b: string): string =
return a & " " & b

7
tests/caas/main.nim Normal file
View file

@ -0,0 +1,7 @@
import imported, strutils
proc main =
var t1 = "text"
var t2 = t1.toUpper
echo(t1 +++ t2)