summaryrefslogtreecommitdiffstats
path: root/tests/stringObj.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-20 16:43:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-20 16:43:54 (GMT)
commita3fdbe449b30bc201a5a109503ea13aa7504b4f3 (patch)
treeb5cc49ccfbbde42f5cbeb2f2f6a0ebb53e5bf2ce /tests/stringObj.test
parent3b9e37ced8a8d317393b36e7682adcc201fbfd94 (diff)
parent4b7066e5b302bc5c0a793b2d8ce836a46beaf5b3 (diff)
downloadtcl-a3fdbe449b30bc201a5a109503ea13aa7504b4f3.zip
tcl-a3fdbe449b30bc201a5a109503ea13aa7504b4f3.tar.gz
tcl-a3fdbe449b30bc201a5a109503ea13aa7504b4f3.tar.bz2
Merge trunk
Diffstat (limited to 'tests/stringObj.test')
-rw-r--r--tests/stringObj.test10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/stringObj.test b/tests/stringObj.test
index bda7285..a1c0600 100644
--- a/tests/stringObj.test
+++ b/tests/stringObj.test
@@ -23,6 +23,8 @@ catch [list package require -exact Tcltest [info patchlevel]]
testConstraint testobj [llength [info commands testobj]]
testConstraint testbytestring [llength [info commands testbytestring]]
testConstraint testdstring [llength [info commands testdstring]]
+testConstraint tip497 [expr {[string length \U010000] == 1}]
+testConstraint nodep [info exists tcl_precision]
test stringObj-1.1 {string type registration} testobj {
set t [testobj types]
@@ -464,19 +466,19 @@ test stringObj-15.4 {Tcl_Append*ToObj: self appends} testobj {
teststringobj set 1 foo
teststringobj appendself 1 3
} foo
-test stringObj-15.5 {Tcl_Append*ToObj: self appends} testobj {
+test stringObj-15.5 {Tcl_Append*ToObj: self appends} {testobj tip497} {
teststringobj set 1 foo
teststringobj appendself2 1 0
} foofoo
-test stringObj-15.6 {Tcl_Append*ToObj: self appends} testobj {
+test stringObj-15.6 {Tcl_Append*ToObj: self appends} {testobj tip497} {
teststringobj set 1 foo
teststringobj appendself2 1 1
} foooo
-test stringObj-15.7 {Tcl_Append*ToObj: self appends} testobj {
+test stringObj-15.7 {Tcl_Append*ToObj: self appends} {testobj tip497} {
teststringobj set 1 foo
teststringobj appendself2 1 2
} fooo
-test stringObj-15.8 {Tcl_Append*ToObj: self appends} testobj {
+test stringObj-15.8 {Tcl_Append*ToObj: self appends} {testobj tip497} {
teststringobj set 1 foo
teststringobj appendself2 1 3
} foo