projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb5f00
)
Test perl #4760
author
Father Chrysostomos
<sprout@cpan.org>
Wed, 10 Oct 2012 03:43:00 +0000
(20:43 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Wed, 10 Oct 2012 13:08:23 +0000
(06:08 -0700)
t/op/magic.t
patch
|
blob
|
history
diff --git
a/t/op/magic.t
b/t/op/magic.t
index
575dae7
..
3fb1ea1
100644
(file)
--- 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 => 17
6
);
+ plan (tests => 17
7
);
}
# 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: {