summaryrefslogtreecommitdiffstats
path: root/tests/imgPhoto.test
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2020-06-07 11:25:59 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2020-06-07 11:25:59 (GMT)
commita9ccdcf892a930e096c174d1033f58063fecc433 (patch)
tree18f8c91fce5a4f861da435d9d2638e2ceae1bb41 /tests/imgPhoto.test
parent764007d977e0131ee0c8abdaf029d7851007b603 (diff)
downloadtk-a9ccdcf892a930e096c174d1033f58063fecc433.zip
tk-a9ccdcf892a930e096c174d1033f58063fecc433.tar.gz
tk-a9ccdcf892a930e096c174d1033f58063fecc433.tar.bz2
TIP529 image metadata: correct shared metadata object ref count on output, implement XMP gif write
Diffstat (limited to 'tests/imgPhoto.test')
-rw-r--r--tests/imgPhoto.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test
index 751d589..b0d41b1 100644
--- a/tests/imgPhoto.test
+++ b/tests/imgPhoto.test
@@ -2351,7 +2351,7 @@ test imgPhoto-23.11 {output data with XMP} -setup {
XMP $XMPData]]
image delete gif1
image create photo gif1 -data $gifData
- expr {[gif1 cget -metadata] eq $XMPData}
+ expr {[dict get [gif1 cget -metadata] XMP] eq $XMPData}
} -cleanup {
catch {image delete gif1}
} -result {1}