From 8f25f6c031ddddc08edd62173255cda84d4a05fd Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Tue, 9 Oct 2012 20:43:00 -0700 Subject: [PATCH] Test perl #4760 --- t/op/magic.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/t/op/magic.t b/t/op/magic.t index 575dae7..3fb1ea1 100644 --- a/t/op/magic.t +++ b/t/op/magic.t @@ -5,7 +5,7 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; require './test.pl'; - plan (tests => 176); + plan (tests => 177); } # Test that defined() returns true for magic variables created on the fly, @@ -618,6 +618,11 @@ is ${^LAST_FH}, \*STDIN, '${^LAST_FH} after another tell'; is ${^LAST_FH}, undef, '${^LAST_FH} is undef when PL_last_in_gv is NULL'; +# $| +fresh_perl_is 'print $| = ~$|', "1\n", {switches => ['-l']}, + '[perl #4760] print $| = ~$|'; + + # ^^^^^^^^^ New tests go here ^^^^^^^^^ SKIP: { -- 2.7.4