diff options
author | dgp <dgp@users.sourceforge.net> | 2007-10-15 18:38:02 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-10-15 18:38:02 (GMT) |
commit | d3f32c25f4f4e52eff048406ab16786b1de14677 (patch) | |
tree | 8a8212da8cd407a47f23422e2ef3e4f3f728530e /tests | |
parent | 3bf2e431b1f1d665dc8ce7d2b34635376fdc58be (diff) | |
download | tcl-d3f32c25f4f4e52eff048406ab16786b1de14677.zip tcl-d3f32c25f4f4e52eff048406ab16786b1de14677.tar.gz tcl-d3f32c25f4f4e52eff048406ab16786b1de14677.tar.bz2 |
merge updates from HEAD
Diffstat (limited to 'tests')
-rw-r--r-- | tests/string.test | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/string.test b/tests/string.test index 87a7f88..6ad7212 100644 --- a/tests/string.test +++ b/tests/string.test @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: string.test,v 1.62.2.1 2007/06/12 15:56:44 dgp Exp $ +# RCS: @(#) $Id: string.test,v 1.62.2.2 2007/10/15 18:38:07 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -482,6 +482,9 @@ test string-6.57 {string is integer, false} { test string-6.58 {string is integer, false on bad octal} { list [string is integer -fail var 036963] $var } {0 3} +test string-6.58.1 {string is integer, false on bad octal} { + list [string is integer -fail var 0o36963] $var +} {0 4} test string-6.59 {string is integer, false on bad hex} { list [string is integer -fail var 0X345XYZ] $var } {0 5} @@ -649,6 +652,9 @@ test string-6.104 {string is wideinteger, false} { test string-6.105 {string is wideinteger, false on bad octal} { list [string is wideinteger -fail var 036963] $var } {0 3} +test string-6.105.1 {string is wideinteger, false on bad octal} { + list [string is wideinteger -fail var 0o36963] $var +} {0 4} test string-6.106 {string is wideinteger, false on bad hex} { list [string is wideinteger -fail var 0X345XYZ] $var } {0 5} |