Skip to content

Commit

Permalink
Fixed the use of File::Temp that causes warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Nov 7, 2010
1 parent 9f157ed commit b83cea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/Plack-Response/body.t
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ is_deeply r [ "Hello", "World" ], [ "Hello", "World" ];
}

{
my $tmp = File::Temp->new("baz"); # File::Temp has stringify method, but it is-a IO::Handle.
my $tmp = File::Temp->new; # File::Temp has stringify method, but it is-a IO::Handle.
is_deeply r $tmp, $tmp;
}

Expand Down

0 comments on commit b83cea8

Please sign in to comment.