aboutsummaryrefslogtreecommitdiff
path: root/tests/string.test
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-12-14 10:43:26 +1000
committerSteve Bennett <steveb@workware.net.au>2010-12-14 11:01:28 +1000
commit06256311b1367669e5983d2dd92a0a8c0ac3661e (patch)
tree661bdc96ed7164e2df808a85d2d80bcc3513d64c /tests/string.test
parent7e50b8cbb20c3cee9193249d0150aa6f5cc778ee (diff)
downloadjimtcl-06256311b1367669e5983d2dd92a0a8c0ac3661e.zip
jimtcl-06256311b1367669e5983d2dd92a0a8c0ac3661e.tar.gz
jimtcl-06256311b1367669e5983d2dd92a0a8c0ac3661e.tar.bz2
Fix constraint checking
This was completely wrong. The arg order was wrong such that when test constraints were specifed the test was always skipped! Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/string.test')
-rw-r--r--tests/string.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/string.test b/tests/string.test
index eecd18e..72edf32 100644
--- a/tests/string.test
+++ b/tests/string.test
@@ -622,7 +622,7 @@ test string-11.49 {string match, *special case} {
string match "?\\*" "a*"
} 1
# I don't see why this shouldn't match. Ignored for jim
-test string-11.50 {string match, *special case} jim {
+test string-11.50 {string match, *special case} tcl {
string match "\\" "\\"
} 0