diff options
author | fvogel <fvogelnew1@free.fr> | 2024-06-14 18:26:57 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2024-06-14 18:26:57 (GMT) |
commit | 5c3cbffb42a4122814d4636be170b8ea8eb59467 (patch) | |
tree | a7feef645c86d0727ab6c2016670afed538ad345 /tests | |
parent | bab006a2f63bf6a5b2e2b0c63e5f1bf3c5a47f59 (diff) | |
download | tk-5c3cbffb42a4122814d4636be170b8ea8eb59467.zip tk-5c3cbffb42a4122814d4636be170b8ea8eb59467.tar.gz tk-5c3cbffb42a4122814d4636be170b8ea8eb59467.tar.bz2 |
Fix test number and indentation.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/imgPhoto.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test index a7046ca..34107cc 100644 --- a/tests/imgPhoto.test +++ b/tests/imgPhoto.test @@ -1311,11 +1311,11 @@ test imgPhoto-18.6.1 {Reject truncated GIF in Colormap - ticket 865af0148c - fil } -cleanup { catch {image delete gif1} } -returnCodes error -result {GIF file truncated} -test imgPhoto-28.6.2 {Reject truncated GIF in Colormap - ticket 865af0148c - data} -setup { +test imgPhoto-18.6.2 {Reject truncated GIF in Colormap - ticket 865af0148c - data} -setup { set fileName [file join [file dirname [info script]] corruptTruncatedColormap.gif] - set h [open $fileName rb] - set d [read $h] - close $h + set h [open $fileName rb] + set d [read $h] + close $h } -body { image create photo gif1 -data $d } -cleanup { |