mirror of
https://github.com/vishapoberon/vix.git
synced 2026-04-05 20:32:24 +00:00
improve the testing skeleton
This commit is contained in:
parent
1d61d8dcee
commit
c2c76a1f40
1 changed files with 4 additions and 2 deletions
6
vix
6
vix
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
# set global variables
|
||||
PROGNAME=${0##*/}
|
||||
VERSION="0.1.2"
|
||||
VERSION="0.1.3"
|
||||
|
||||
COLOUR_SET_R="\033[0;31m"
|
||||
COLOUR_SET_G="\033[0;32m"
|
||||
|
|
@ -177,10 +177,12 @@ MODULE ${MODULE}Test;
|
|||
BEGIN
|
||||
IF ${MODULE}.Run() = 42 THEN
|
||||
Out.String("All works!")
|
||||
Out.Ln;
|
||||
ELSE
|
||||
Out.String("Test Failed...")
|
||||
Out.Ln;
|
||||
HALT(1)
|
||||
END;
|
||||
Out.Ln;
|
||||
END ${MODULE}Test.
|
||||
EOF
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue