diff options
author | sebres <sebres@users.sourceforge.net> | 2020-01-30 15:44:23 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2020-01-30 15:44:23 (GMT) |
commit | 944694962ae16176a7243f38c40e4503bfc626dd (patch) | |
tree | cbe5e6eec0c8b895cb4138531ebf4debc021d14e /library | |
parent | c8c1298bb3b2b00caa2f412fd6947abd471e2891 (diff) | |
parent | 61962d02f55c207c7e67880414cd790809dde54f (diff) | |
download | tcl-944694962ae16176a7243f38c40e4503bfc626dd.zip tcl-944694962ae16176a7243f38c40e4503bfc626dd.tar.gz tcl-944694962ae16176a7243f38c40e4503bfc626dd.tar.bz2 |
merge 8.6
Diffstat (limited to 'library')
-rw-r--r-- | library/tcltest/tcltest.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index c51467b..e5cfc77 100644 --- a/library/tcltest/tcltest.tcl +++ b/library/tcltest/tcltest.tcl @@ -970,7 +970,7 @@ proc tcltest::testConstraint {constraint {value ""}} { return $testConstraints($constraint) } # Check for boolean values - if {[catch {expr {$value && $value}} msg]} { + if {[catch {expr {$value && 1}} msg]} { return -code error $msg } if {[limitConstraints] && ($constraint ni $Option(-constraints))} { |