summaryrefslogtreecommitdiffstats
path: root/tests/imgPhoto.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-07-08 20:24:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-07-08 20:24:37 (GMT)
commit10a2957a7673270de54a5054fb8c9c31f5845237 (patch)
treedf1e1255c706724d891af43eeaf60ea4b53ff1fc /tests/imgPhoto.test
parent365059dd56e66d2056e28432b1420bfe676c260b (diff)
downloadtk-core-bug-0439e1e1a3.zip
tk-core-bug-0439e1e1a3.tar.gz
tk-core-bug-0439e1e1a3.tar.bz2
[https://core.tcl-lang.org/tcl/tktview/0439e1e1a3|0439e1e1a3] can't -> cannot in all error-messagescore-bug-0439e1e1a3
Diffstat (limited to 'tests/imgPhoto.test')
-rw-r--r--tests/imgPhoto.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test
index 0a2cf7f..fb363df 100644
--- a/tests/imgPhoto.test
+++ b/tests/imgPhoto.test
@@ -365,7 +365,7 @@ test imgPhoto-4.12 {ImgPhotoCmd procedure: copy option} -setup {
photo1 copy blah
} -returnCodes error -cleanup {
image delete photo1
-} -result {image "blah" doesn't exist or is not a photo image}
+} -result {image "blah" does not exist or is not a photo image}
test imgPhoto-4.13 {ImgPhotoCmd procedure: copy option} -setup {
image create photo photo1
image create photo photo2
@@ -1431,7 +1431,7 @@ test imgPhoto-8.3 {ImgPhotoDelete procedure, name cleanup} -body {
photo1 copy photo2
} -returnCodes error -cleanup {
imageCleanup
-} -result {image "photo2" doesn't exist or is not a photo image}
+} -result {image "photo2" does not exist or is not a photo image}
test imgPhoto-9.1 {ImgPhotoCmdDeletedProc procedure} -body {
image create photo photo2 -file $teapotPhotoFile
@@ -1488,7 +1488,7 @@ test imgPhoto-11.1 {Tk_FindPhoto} -setup {
photo1 copy i1
} -cleanup {
imageCleanup
-} -returnCodes error -result {image "i1" doesn't exist or is not a photo image}
+} -returnCodes error -result {image "i1" does not exist or is not a photo image}
test imgPhoto-12.1 {Tk_PhotoPutZoomedBlock} -body {
image create photo p3 -file $teapotPhotoFile
@@ -1732,7 +1732,7 @@ test imgPhoto-15.1 {photo images can fail to allocate memory gracefully} -constr
image create photo -width 32000 -height 32000
} -returnCodes error -result {not enough free memory for image buffer}
-test imgPhoto-16.1 {copying to self doesn't access freed memory} -setup {
+test imgPhoto-16.1 {copying to self does not access freed memory} -setup {
set i [image create photo]
} -body {
# Bug 877950 makes this crash when trying to copy out of a deallocated