Skip to content

Commit

Permalink
event.test: try to silence test event 12.1
Browse files Browse the repository at this point in the history
github actions produces some spurious output for this test.
Write it in v2 style without catch

Signed-off-by: Steve Bennett <steveb@workware.net.au>
  • Loading branch information
msteveb committed Sep 6, 2024
1 parent eea37b5 commit 5f644cc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/event.test
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,10 @@ test event-11.6 {Tcl_VwaitCmd procedure: round robin scheduling, same source} {s
list $x $y $z
} {3 3 done}

test event-12.1 {Tcl_UpdateCmd procedure} {
list [catch {update a b} msg] $msg
} {1 {wrong # args: should be "update ?idletasks?"}}
test event-12.1 {Tcl_UpdateCmd procedure - usage} -body {
update a b
} -returnCodes error -result {wrong # args: should be "update ?idletasks?"}

test event-12.3 {Tcl_UpdateCmd procedure} {
foreach i [after info] {
after cancel $i
Expand Down

0 comments on commit 5f644cc

Please sign in to comment.