Mercurial > hg > nginx-tests
comparison charset_gzip_static.t @ 942:8582afc64efa
Tests: avoid uninitialized warnings in charset_gzip_static.t.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 07 Jun 2016 15:41:17 +0300 |
parents | 3ac4036b139d |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
941:ee4a4b42d65f | 942:8582afc64efa |
---|---|
88 | 88 |
89 $t->write_file('t1.html', ''); | 89 $t->write_file('t1.html', ''); |
90 $t->write_file('t1.html.gz', ''); | 90 $t->write_file('t1.html.gz', ''); |
91 | 91 |
92 my $in = 'X' x 99; | 92 my $in = 'X' x 99; |
93 my $out; | 93 my $out = ''; |
94 | 94 |
95 eval { | 95 eval { |
96 require IO::Compress::Gzip; | 96 require IO::Compress::Gzip; |
97 IO::Compress::Gzip::gzip(\$in => \$out); | 97 IO::Compress::Gzip::gzip(\$in => \$out); |
98 }; | 98 }; |