diff options
| author | apnadkarni <apnmbx-wits@yahoo.com> | 2023-09-22 13:56:35 (GMT) |
|---|---|---|
| committer | apnadkarni <apnmbx-wits@yahoo.com> | 2023-09-22 13:56:35 (GMT) |
| commit | fffc4119bef3f1894ff2043a720b902b6a88adbe (patch) | |
| tree | da8b26d1443683a20c9b6ab4ca2c92913069aadf | |
| parent | ed32508df0f991dc79ed6d0af0abe085f3686923 (diff) | |
| download | tcl-fffc4119bef3f1894ff2043a720b902b6a88adbe.zip tcl-fffc4119bef3f1894ff2043a720b902b6a88adbe.tar.gz tcl-fffc4119bef3f1894ff2043a720b902b6a88adbe.tar.bz2 | |
Bug [0aaeb9c380]. Fix spurious tcltest output on hyphenated constraints
| -rw-r--r-- | library/tcltest/tcltest.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index 984f5c1..d3e9ea4 100644 --- a/library/tcltest/tcltest.tcl +++ b/library/tcltest/tcltest.tcl @@ -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]]} |
