summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-08-19 22:41:08 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-08-21 14:11:00 -0700
commit3f29db7f4d1529dc55c67fc4dd36d1a5e9e85b0f (patch)
treea08361ffe21ba380bb6a93c2121b70779d3a7d51
parentc49688b01872b2b0030cfe2c0d5cd22aa4e70b6b (diff)
downloadperl-3f29db7f4d1529dc55c67fc4dd36d1a5e9e85b0f.tar.gz
heredoc.t: Suppress deprecation warnings
-rw-r--r--t/op/heredoc.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/heredoc.t b/t/op/heredoc.t
index b1ab684736..7108c9a416 100644
--- a/t/op/heredoc.t
+++ b/t/op/heredoc.t
@@ -36,7 +36,7 @@ HEREDOC
fresh_perl_is(
"print <<;\n$string\n",
$string,
- {},
+ { switches => ['-X'] },
"blank-terminated heredoc at EOF"
);
}
@@ -54,7 +54,7 @@ HEREDOC
fresh_perl_like(
"print <<;\nno more newlines",
qr/find string terminator/,
- {},
+ { switches => ['-X'] },
"empty string terminator still needs a newline"
);