Skip to content

Commit e15e29e

Browse files
authored
Merge pull request #524 from rspier/spew
Fix warning about spurt
2 parents 3b63c16 + 60fef98 commit e15e29e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/pause_2017/action/add_uri.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ subtest 'get: user with subdirs' => sub {
3434
my $user_home = $PAUSE::Config->{MLROOT}."/".PAUSE::user2dir($user);
3535
my $subdir = path("$user_home/test");
3636
$subdir->make_path;
37-
$subdir->child("stuff.txt")->spurt("Foo");
37+
$subdir->child("stuff.txt")->spew("Foo");
3838

3939
my $t = Test::PAUSE::Web->new(user => $user);
4040
$t->get_ok("$path?ACTION=add_uri");
@@ -103,7 +103,7 @@ subtest 'post: under a Perl6 subdir' => sub {
103103
my $user_home = $PAUSE::Config->{MLROOT}."/".PAUSE::user2dir($user);
104104
my $subdir = path("$user_home/Perl6");
105105
$subdir->make_path;
106-
$subdir->child("stuff.txt")->spurt("Foo");
106+
$subdir->child("stuff.txt")->spew("Foo");
107107

108108
my $file = $PAUSE::Config->{INCOMING_LOC}."/".$form{pause99_add_uri_httpupload}[1];
109109
ok !-f $file, "file to upload does not exist";

0 commit comments

Comments
 (0)