aboutsummaryrefslogtreecommitdiff
path: root/tcltest.tcl
diff options
context:
space:
mode:
authorEvan Hunter <evan@ozhiker.com>2015-08-26 08:48:03 +0100
committerEvan Hunter <evan@ozhiker.com>2015-08-26 09:07:37 +0100
commita5a863f3803586367180d30276418240a53c5839 (patch)
tree3aebda2ead89aa570240c53a8f7c75154a061a97 /tcltest.tcl
parent069750bd63591ec4fea8a6f8f4edd8a983c6e182 (diff)
downloadjimtcl-a5a863f3803586367180d30276418240a53c5839.zip
jimtcl-a5a863f3803586367180d30276418240a53c5839.tar.gz
jimtcl-a5a863f3803586367180d30276418240a53c5839.tar.bz2
tcltest: Fix reference to wrong variable name
Diffstat (limited to 'tcltest.tcl')
-rw-r--r--tcltest.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcltest.tcl b/tcltest.tcl
index d338b2a..ce3cbf3 100644
--- a/tcltest.tcl
+++ b/tcltest.tcl
@@ -151,7 +151,7 @@ proc testConstraint {constraint {bool {}}} {
if {[info exists ::tcltest::testConstraints($constraint)]} {
return $::tcltest::testConstraints($constraint)
}
- return -code error "unknown constraint: $c"
+ return -code error "unknown constraint: $constraint"
return 1
} else {
set ::tcltest::testConstraints($constraint) $bool