From: Marius Gavrilescu Date: Sat, 27 Aug 2016 23:07:40 +0000 (+0100) Subject: Consistent whitespace in t/02-roundtrip.t X-Git-Tag: 0.002~5 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=9aa33e85912af3e998ad3be3497b4bbfe2fe3a1d;p=io-compress-brotli.git Consistent whitespace in t/02-roundtrip.t --- diff --git a/t/02-roundtrip.t b/t/02-roundtrip.t index f21efe8..50cf87f 100644 --- a/t/02-roundtrip.t +++ b/t/02-roundtrip.t @@ -12,22 +12,22 @@ for my $test () { 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"; + } }