]> granicus.if.org Git - imagemagick/commitdiff
Eliminate invalid montage directory exception
authorCristy <urban-warrior@imagemagick.org>
Mon, 19 Feb 2018 19:55:45 +0000 (14:55 -0500)
committerCristy <urban-warrior@imagemagick.org>
Mon, 19 Feb 2018 19:57:03 +0000 (14:57 -0500)
PerlMagick/t/subroutines.pl

index a7d7f4ea865cae9610d3494d28f7ceb3e6f08463..263af4c8e70c90cb349b47d031cf4850f8f0e7bf 100644 (file)
@@ -1050,7 +1050,7 @@ sub testMontage {
       } else {
         # Check montage directory
         my $directory = $montage->Get('directory');
-        my $expected = join( "\n", @colors ) . "\n";
+        my $expected = join( "\xff", @colors ) . "\xff";
         if ( !defined($directory) ) {
           print "ok $test\n";
         } elsif ( $directory  ne $expected) {