Changeset 1042 for trunk/lang/tcl/tests/diff.test
- Timestamp:
- Jun 10, 2008 6:52:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/tcl/tests/diff.test
r444 r1042 34 34 set libFromGet [$libDefault element -as object "input.number(max)"] 35 35 36 # this test works for old tcl bindings, different error message 37 #test library-10.0.1.1 {diff command, no arguments} { 38 # list [catch {$lib diff} msg] $msg 39 #} {1 {wrong # args: should be "libraryObj0 diff libobj"}} 40 # this test works for new tcl bindings, different error message 41 test library-10.0.1.2 {diff command, no arguments} { 36 test library-10.0.1.1 {diff command, no arguments} { 42 37 list [catch {$lib diff} msg] $msg 43 } {1 {wrong # args: should be " ::libraryObj0 diff xmlobj"}}38 } {1 {wrong # args: should be "libraryObj0 diff libobj"}} 44 39 test library-10.1.1 {diff command, one argument, no difference} { 45 40 $lib diff $libnew … … 67 62 test library-10.3.1 {diff command, two arguments, returns error} { 68 63 list [catch {$lib diff $libnew $libnew} msg] $msg 69 } {1 {wrong # args: should be " ::libraryObj0 diff xmlobj"}}64 } {1 {wrong # args: should be "libraryObj0 diff libobj"}} 70 65 test library-10.3.2 {diff command, bad second arg, returns error} { 71 66 list [catch {$lib diff slfd} msg] $msg
Note: See TracChangeset
for help on using the changeset viewer.