summaryrefslogtreecommitdiffstats
path: root/library/tcltest/tcltest.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-07-12 16:13:27 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-07-12 16:13:27 (GMT)
commit7bea42569d8c2ccb8584155f706392d5812ec428 (patch)
tree4f61b95593d24393fff08344b408215836a58a05 /library/tcltest/tcltest.tcl
parentf0bba60202785e634e8e1712db5cc37246d36e32 (diff)
downloadtcl-7bea42569d8c2ccb8584155f706392d5812ec428.zip
tcl-7bea42569d8c2ccb8584155f706392d5812ec428.tar.gz
tcl-7bea42569d8c2ccb8584155f706392d5812ec428.tar.bz2
whopper change; now passes test suite on OSX
Diffstat (limited to 'library/tcltest/tcltest.tcl')
-rw-r--r--library/tcltest/tcltest.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl
index 8e43859..d5b9141 100644
--- a/library/tcltest/tcltest.tcl
+++ b/library/tcltest/tcltest.tcl
@@ -1135,7 +1135,7 @@ proc tcltest::ConstraintInitializer {constraint {script ""}} {
}
# Check for boolean values
if {![info complete $script]} {
- return -code error "ConstraintInitializer must be complete script"
+ return -code error "ConstraintInitializer should be complete script"
}
set ConstraintInitializer($constraint) $script
}
@@ -1909,7 +1909,7 @@ proc tcltest::test {name description args} {
set sorted [lsort $validFlags]
set options [join [lrange $sorted 0 end-1] ", "]
append options ", or [lindex $sorted end]"
- return -code error "bad option \"$flag\": must be $options"
+ return -code error "bad option \"$flag\": should be $options"
}
}
@@ -1926,7 +1926,7 @@ proc tcltest::test {name description args} {
set values [join [lrange $sorted 0 end-1] ", "]
append values ", or [lindex $sorted end]"
return -code error "bad -match value \"$match\":\
- must be $values"
+ should be $values"
}
# Replace symbolic valies supplied for -returnCodes