Replace File::Slurp with File::Slurper
[io-compress-brotli.git] / t / 02-roundtrip.t
index 3f656e18f3b700bb7706fc5984ad58599b5409de..f2c40b8dbfbf3df99d78cbf284fcf1ee74d47e96 100644 (file)
@@ -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 (<brotli/tests/testdata/*.compressed>) {
        my ($source) = $test =~ s/\.compressed$//r;
-       $source = read_file $source;
+       $source = read_binary $source;
 
        for my $quality (9,11) {
                my $encoded = bro($source, $quality);
This page took 0.009378 seconds and 4 git commands to generate.