From: ivan Date: Tue, 12 Aug 2008 04:07:20 +0000 (+0000) Subject: image names from OO conversion aren't consistent X-Git-Url: http://git.freeside.biz/gitweb/?p=HTML-AutoConvert.git;a=commitdiff_plain;h=HEAD image names from OO conversion aren't consistent --- diff --git a/t/34-doc_images-OpenOffice.t b/t/34-doc_images-OpenOffice.t index ba32b2d..241f58c 100644 --- a/t/34-doc_images-OpenOffice.t +++ b/t/34-doc_images-OpenOffice.t @@ -26,10 +26,11 @@ ok( scalar(@images) == 2, 'got two images' ); #} #check the names & lengths at least -is( $images[0]->[0], '10000000000000C80000009688B0FEF3.png', '1st image name'); +#well, the names don't appear to be consistent, but we can check they're png +like( $images[0]->[0], qr/^[0-9A-F]+.png$/, '1st image name'); ok( length($images[0]->[1]) == 8704, '1st image size'); -is( $images[1]->[0], '100000000000009D0000009F54B4BCB3.png', '2nd image name'); +like( $images[0]->[0], qr/^[0-9A-F]+.png$/, '2nd image name'); ok( length($images[1]->[1]) == 2125, '2nd image size');