Skip to content

Commit

Permalink
error stacktrace still not fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
msteveb committed Sep 6, 2024
1 parent 5145f62 commit c58273c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/event.test
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ test event-11.6 {Tcl_VwaitCmd procedure: round robin scheduling, same source} {s
list $x $y $z
} {3 3 done}

proc bgerror {msg} {
puts "bgerror $msg"
puts "called from [stacktrace]"
puts "error stacktrace is [info stacktrace]"
}

test event-12.1 {Tcl_UpdateCmd procedure - usage} -body {
update a b
} -returnCodes error -result {wrong # args: should be "update ?idletasks?"}
Expand Down

0 comments on commit c58273c

Please sign in to comment.