Skip to content

Commit

Permalink
Bug [0aaeb9c380]. Fix spurious tcltest output on hyphenated constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
apnadkarni committed Sep 22, 2023
1 parent ed32508 commit fffc411
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/tcltest/tcltest.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2365,6 +2365,7 @@ proc tcltest::Skipped {name constraints} {
# make sure that the constraints are satisfied.

set doTest 0
set constraints [string trim $constraints]
if {[string match {*[$\[]*} $constraints] != 0} {
# full expression, e.g. {$foo > [info tclversion]}
catch {set doTest [uplevel #0 [list expr $constraints]]}
Expand Down

0 comments on commit fffc411

Please sign in to comment.