X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=t%2F02-roundtrip.t;h=f2c40b8dbfbf3df99d78cbf284fcf1ee74d47e96;hb=c17e7d6329e8a24e6128a9f70e2b597fce1b5b0a;hp=3f656e18f3b700bb7706fc5984ad58599b5409de;hpb=56bfd9c0a0380461b810f820869768f4e8a7ad4a;p=io-compress-brotli.git diff --git a/t/02-roundtrip.t b/t/02-roundtrip.t index 3f656e1..f2c40b8 100644 --- a/t/02-roundtrip.t +++ b/t/02-roundtrip.t @@ -3,14 +3,14 @@ use v5.14; use warnings; use Test::More tests => 114; -use File::Slurp; +use File::Slurper qw/read_binary/; use IO::Compress::Brotli; use IO::Uncompress::Brotli; for my $test () { my ($source) = $test =~ s/\.compressed$//r; - $source = read_file $source; + $source = read_binary $source; for my $quality (9,11) { my $encoded = bro($source, $quality);