X-Git-Url: http://git.ieval.ro/?p=io-compress-brotli.git;a=blobdiff_plain;f=t%2F02-roundtrip.t;h=f2c40b8dbfbf3df99d78cbf284fcf1ee74d47e96;hp=3f656e18f3b700bb7706fc5984ad58599b5409de;hb=c17e7d6329e8a24e6128a9f70e2b597fce1b5b0a;hpb=d2b64400639f64f01fe3172668f65636e94b74ec 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);