aboutsummaryrefslogtreecommitdiff
path: root/tests/string.test
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2013-09-19 07:29:17 +1000
committerSteve Bennett <steveb@workware.net.au>2013-09-19 12:29:17 +1000
commit14f066bc24c7c5f8ca5559db321ef722d673c076 (patch)
tree4c6dae396cb2cd69f4469a1bf0b2ddb0b8982a7c /tests/string.test
parentdcb268ae2e41a2f87e418b8d5285623977b2fbb4 (diff)
downloadjimtcl-14f066bc24c7c5f8ca5559db321ef722d673c076.zip
jimtcl-14f066bc24c7c5f8ca5559db321ef722d673c076.tar.gz
jimtcl-14f066bc24c7c5f8ca5559db321ef722d673c076.tar.bz2
Build on platforms without isascii
Signed-off-by: Steve Bennett <steveb@workware.net.au> Reported-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'tests/string.test')
-rw-r--r--tests/string.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/string.test b/tests/string.test
index e4d5dc5..650088c 100644
--- a/tests/string.test
+++ b/tests/string.test
@@ -248,6 +248,12 @@ test string-6.12 {string is alnum, true} {
test string-6.15 {string is alpha, true} {
string is alpha abc
} 1
+test string-6.16 {string is ascii, true} {
+ string is ascii abc123
+} 1
+test string-6.17 {string is ascii, false} {
+ string is ascii 0123Ü567
+} 0
test string-6.24 {string is digit, true} {
string is digit 0123456789
} 1