diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-11-19 22:23:08 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-11-19 22:23:08 (GMT) |
commit | 00451a175e38e5bf9ff949ed11b9b84ce9dcfdd9 (patch) | |
tree | 3127a144602ef0cb05795cd722659052d0388891 /tests/stringComp.test | |
parent | c8318a69ffb04cb042048cc53e57342e17d1553b (diff) | |
parent | 2ab23f61864343e27600fb486ae681e24f1fa8d0 (diff) | |
download | tcl-00451a175e38e5bf9ff949ed11b9b84ce9dcfdd9.zip tcl-00451a175e38e5bf9ff949ed11b9b84ce9dcfdd9.tar.gz tcl-00451a175e38e5bf9ff949ed11b9b84ce9dcfdd9.tar.bz2 |
merge trunk
Diffstat (limited to 'tests/stringComp.test')
-rw-r--r-- | tests/stringComp.test | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/tests/stringComp.test b/tests/stringComp.test index 56fb69d..9e00ce7 100644 --- a/tests/stringComp.test +++ b/tests/stringComp.test @@ -26,7 +26,7 @@ catch [list package require -exact Tcltest [info patchlevel]] # Some tests require the testobj command testConstraint testobj [expr {[info commands testobj] != {}}] - + test stringComp-1.1 {error conditions} { proc foo {} {string gorp a b} list [catch {foo} msg] $msg @@ -677,7 +677,11 @@ test stringComp-11.54 {string match, failure} { } {0 1 1 1 0 0} ## string range -## not yet bc +test stringComp-12.1 {Bug 3588366: end-offsets before start} { + apply {s { + string range $s 0 end-5 + }} 12345 +} {} ## string repeat ## not yet bc @@ -699,8 +703,12 @@ test stringComp-11.54 {string match, failure} { ## string word* ## not yet bc - + # cleanup catch {rename foo {}} ::tcltest::cleanupTests return + +# Local Variables: +# mode: tcl +# End: |