diff options
author | dkf <dkf@noemail.net> | 2004-01-17 00:38:56 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2004-01-17 00:38:56 (GMT) |
commit | 5f2e8bd40b5466ffbadc77b48809b26faab1fd92 (patch) | |
tree | d751ef9d6ce0076a3c615268677133b5a00d4393 /tests | |
parent | 62c6b000eee8ba23c06faeba820f70d2d34dd8d0 (diff) | |
download | tcl-5f2e8bd40b5466ffbadc77b48809b26faab1fd92.zip tcl-5f2e8bd40b5466ffbadc77b48809b26faab1fd92.tar.gz tcl-5f2e8bd40b5466ffbadc77b48809b26faab1fd92.tar.bz2 |
Minor fixes and update of UNIX documentation installer
FossilOrigin-Name: 62cc8bc440e0cea1ca24723a50b1871858017352
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cmdIL.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cmdIL.test b/tests/cmdIL.test index 94dd24f..59e17c0 100644 --- a/tests/cmdIL.test +++ b/tests/cmdIL.test @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: cmdIL.test,v 1.19 2004/01/17 00:28:08 dkf Exp $ +# RCS: @(#) $Id: cmdIL.test,v 1.20 2004/01/17 00:38:57 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -422,10 +422,10 @@ test cmdIL-5.5 {lsort with list style index and sharing} -body { test cmdIL-6.1 {lassign command syntax} -body { lassign -} -code 1 -result {wrong # args: should be "lassign list varname ?varname ...?"} +} -returnCodes 1 -result {wrong # args: should be "lassign list varname ?varname ...?"} test cmdIL-6.2 {lassign command syntax} -body { lassign x -} -code 1 -result {wrong # args: should be "lassign list varname ?varname ...?"} +} -returnCodes 1 -result {wrong # args: should be "lassign list varname ?varname ...?"} test cmdIL-6.3 {lassign command} { set x FAIL list [lassign a x] $x @@ -462,7 +462,7 @@ test cmdIL-6.9 {lassign command - assignment to arrays} { test cmdIL-6.10 {lassign command - variable update error} -body { set x(x) {} lassign a x -} -code 1 -result {can't set "x": variable is array} -cleanup { +} -returnCodes 1 -result {can't set "x": variable is array} -cleanup { unset x } test cmdIL-6.11 {lassign command - variable update error} -body { |