From 5f644cc7ca1b54383260223f99535bd370365a5d Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Fri, 6 Sep 2024 14:26:20 +1000 Subject: [PATCH] event.test: try to silence test event 12.1 github actions produces some spurious output for this test. Write it in v2 style without catch Signed-off-by: Steve Bennett --- tests/event.test | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/event.test b/tests/event.test index 4f0b3c7a..da9ff859 100644 --- a/tests/event.test +++ b/tests/event.test @@ -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