]> iEval git - io-compress-brotli.git/commitdiff
Consistent whitespace in t/02-roundtrip.t
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 27 Aug 2016 23:07:40 +0000 (00:07 +0100)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 27 Aug 2016 23:07:40 +0000 (00:07 +0100)
t/02-roundtrip.t

index f21efe840a39ebe22b6944227749696bc337b4d8..50cf87f02d3aca3257b12fae45c7499371247f66 100644 (file)
@@ -12,22 +12,22 @@ for my $test (<brotli/tests/testdata/*.compressed>) {
        my ($source) = $test =~ s/\.compressed$//r;
        $source = read_file $source;
 
-    for my $quality (9,11) {
-        my $encoded = bro($source, $quality);
-        my $decoded = unbro($encoded);
+       for my $quality (9,11) {
+               my $encoded = bro($source, $quality);
+               my $decoded = unbro($encoded);
 
-        is $decoded, $source, "$test - quality $quality";
-    }
+               is $decoded, $source, "$test - quality $quality";
+       }
 
-    for my $quality (1,5,9,11) {
+       for my $quality (1,5,9,11) {
                my $enc = IO::Compress::Brotli->create;
                $enc->quality($quality);
-        my $encoded = $enc->compress($source);
-        $encoded .= $enc->finish();
+               my $encoded = $enc->compress($source);
+               $encoded .= $enc->finish();
 
                my $dec = IO::Uncompress::Brotli->create;
-        my $decoded = $dec->decompress($encoded);
+               my $decoded = $dec->decompress($encoded);
 
-        is $decoded, $source, "$test - streaming / quality $quality";
-    }
+               is $decoded, $source, "$test - streaming / quality $quality";
+       }
 }
This page took 0.02465 seconds and 4 git commands to generate.