diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-10-30 15:21:21 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-11-22 13:27:14 +1000 |
commit | 192056900583884bc1f07f371df6478d856ada3b (patch) | |
tree | 540618a3e81d8d9e14261e267edb912f5b73710a /tests/expand.test | |
parent | d98489727fe31fa217d237b36901211adc35282d (diff) | |
download | jimtcl-192056900583884bc1f07f371df6478d856ada3b.zip jimtcl-192056900583884bc1f07f371df6478d856ada3b.tar.gz jimtcl-192056900583884bc1f07f371df6478d856ada3b.tar.bz2 |
Overhaul unit test framework
Much closer to tcltest now, including constraints.
Try to get all appropriate tests running under both Jim and Tcl.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/expand.test')
-rw-r--r-- | tests/expand.test | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/expand.test b/tests/expand.test index 1527cd9..2c7023a 100644 --- a/tests/expand.test +++ b/tests/expand.test @@ -1,6 +1,4 @@ -source testing.tcl - -section "Expand Testing" +source [file dirname [info script]]/testing.tcl test expand-1.1 "Basic tests" { set a {1 2 3} @@ -8,7 +6,7 @@ test expand-1.1 "Basic tests" { lappend a {*}$b } {1 2 3 4 5 6} -test expand-1.2 "Basic tests" { +test expand-1.2 "Basic tests" jim { set a {1 2 3} set b {4 5 6} lappend a {expand}$b |