diff options
Diffstat (limited to 'ext/Compress/Zlib/t/06gzsetp.t')
-rw-r--r-- | ext/Compress/Zlib/t/06gzsetp.t | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/Compress/Zlib/t/06gzsetp.t b/ext/Compress/Zlib/t/06gzsetp.t index 68dd0d1108..eaba1f4f8e 100644 --- a/ext/Compress/Zlib/t/06gzsetp.t +++ b/ext/Compress/Zlib/t/06gzsetp.t @@ -56,8 +56,7 @@ is Compress::Zlib::zlib_version, ZLIB_VERSION, my ($input, $err, $answer, $X, $status, $Answer); - my $name = "test.gz" ; - unlink $name ; + my $lex = new LexFile my $name; ok my $x = gzopen($name, "wb"); $input .= $hello; @@ -90,7 +89,6 @@ is Compress::Zlib::zlib_version, ZLIB_VERSION, ok $k->gzeof ; ok ! $k->gzclose ; ok $k->gzeof ; - unlink $name; } |