summaryrefslogtreecommitdiffstats
path: root/tests/imgPNG.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-11-21 20:41:03 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-11-21 20:41:03 (GMT)
commit98c35ff33ee3ff9c3fc3ed050a70e0837595757b (patch)
tree3907cd40dfc5207d769ae760c91b806e1cd5ba98 /tests/imgPNG.test
parentae3997b382bb6074b751bdec7da4c47bfd78e648 (diff)
downloadtk-98c35ff33ee3ff9c3fc3ed050a70e0837595757b.zip
tk-98c35ff33ee3ff9c3fc3ed050a70e0837595757b.tar.gz
tk-98c35ff33ee3ff9c3fc3ed050a70e0837595757b.tar.bz2
Fix test imgPMG-3.1 just added
Diffstat (limited to 'tests/imgPNG.test')
-rw-r--r--tests/imgPNG.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/imgPNG.test b/tests/imgPNG.test
index 335ac39..4900e9c 100644
--- a/tests/imgPNG.test
+++ b/tests/imgPNG.test
@@ -1110,9 +1110,9 @@ test imgPNG-3.1 {reading image with unknown ancillary chunk - bug [1c659ef0f1]}
# the image contains an unknown chunk iDOT
# since the name of this chunk starts with a lowercase letter,
# it's an ancillary chunk that shall not trigger an error
- catch {image create photo -file $fileName}
+ catch {set i [image create photo -file $fileName]}
} -cleanup {
- catch {image delete $im}
+ image delete $i
} -result {0}
}