summaryrefslogtreecommitdiffstats
path: root/tests/imgPhoto.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-09 07:23:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-09 07:23:05 (GMT)
commit28010d48e92cd516ab264586ddeff2233cc5eb4a (patch)
treefb05812192ca1bcc9ef6a4428e8d857b3d125118 /tests/imgPhoto.test
parente1c1025a87901b4aed358668090787dcbd9c66a4 (diff)
downloadtk-28010d48e92cd516ab264586ddeff2233cc5eb4a.zip
tk-28010d48e92cd516ab264586ddeff2233cc5eb4a.tar.gz
tk-28010d48e92cd516ab264586ddeff2233cc5eb4a.tar.bz2
Remove many unnessesaary curly-braces in testcases
Diffstat (limited to 'tests/imgPhoto.test')
-rw-r--r--tests/imgPhoto.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test
index efe0a74..782a210 100644
--- a/tests/imgPhoto.test
+++ b/tests/imgPhoto.test
@@ -185,7 +185,7 @@ test imgPhoto-1.12 {option -alpha, normal use} -setup {
photo1 transparency get 0 0 -alpha
} -cleanup {
imageCleanup
-} -result {255}
+} -result 255
test imgPhoto-1.13 {option -withalpha, normal use} -setup {
image create photo photo1
} -body {
@@ -1203,7 +1203,7 @@ test imgPhoto-4.100 {ImgPhotoCmd put: no changes on empty data} -setup {
string equal $imgData [photo1 data]
} -cleanup {
imageCleanup
-} -result {1}
+} -result 1
test imgPhoto-4.101 {ImgPhotoCmd get: too many args} -setup {
image create photo photo1
} -body {
@@ -1519,7 +1519,7 @@ test imgPhoto-10.2 {Tk_ImgPhotoPutBlock, same source and dest img} -constraints
string equal [photo1 data] [photo2 data]
} -cleanup {
imageCleanup
-} -result {1}
+} -result 1
test imgPhoto-10.3 {Tk_ImgPhotoPutBlock, same source and dest img} -constraints {
hasTeapotPhoto
} -setup {
@@ -1533,7 +1533,7 @@ test imgPhoto-10.3 {Tk_ImgPhotoPutBlock, same source and dest img} -constraints
string equal [photo1 data] [photo2 data]
} -cleanup {
imageCleanup
-} -result {1}
+} -result 1
test imgPhoto-10.4 {Tk_ImgPhotoPutBlock, empty image} -setup {
imageCleanup
} -body {
@@ -1575,7 +1575,7 @@ test imgPhoto-12.2 {Tk_ImgPhotoPutZoomedBlock, same source and dest img} -constr
string equal [photo1 data] [photo2 data]
} -cleanup {
imageCleanup
-} -result {1}
+} -result 1
test imgPhoto-12.3 {Tk_ImgPhotoPutZoomedBlock, same source and dest img} -setup {
imageCleanup
} -body {
@@ -1587,7 +1587,7 @@ test imgPhoto-12.3 {Tk_ImgPhotoPutZoomedBlock, same source and dest img} -setup
string equal [photo1 data] [photo2 data]
} -cleanup {
imageCleanup
-} -result {1}
+} -result 1
test imgPhoto-12.4 {Tk_ImgPhotoPutZoomedBlock, empty image} -setup {
imageCleanup
} -body {