summaryrefslogtreecommitdiff
path: root/ext/XS-APItest/t/printf.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/XS-APItest/t/printf.t')
-rw-r--r--ext/XS-APItest/t/printf.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/XS-APItest/t/printf.t b/ext/XS-APItest/t/printf.t
index 8f43ee2532..968fdc4627 100644
--- a/ext/XS-APItest/t/printf.t
+++ b/ext/XS-APItest/t/printf.t
@@ -34,7 +34,7 @@ print_flush();
# Now redirect STDOUT and read from the file
ok open(STDOUT, ">&", $oldout), "restore STDOUT";
-ok open(my $foo, "<foo.out"), "open foo.out";
+ok open(my $foo, '<', 'foo.out'), "open foo.out";
#print "# Test output by reading from file\n";
# now test the output
my @output = map { chomp; $_ } <$foo>;