This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
52c4b14
)
Close the filehandle actually being tested in uni/readline.t
author
Steve Hay
<steve.m.hay@googlemail.com>
Tue, 22 May 2012 07:37:01 +0000
(08:37 +0100)
committer
Steve Hay
<steve.m.hay@googlemail.com>
Tue, 22 May 2012 07:37:01 +0000
(08:37 +0100)
(Also allows the tempfile() to be unlink()ed :-)
t/uni/readline.t
patch
|
blob
|
blame
|
history
diff --git
a/t/uni/readline.t
b/t/uni/readline.t
index
ef2106d
..
495172c
100644
(file)
--- a/
t/uni/readline.t
+++ b/
t/uni/readline.t
@@
-21,7
+21,7
@@
like($@, 'Modification of a read-only value attempted', '[perl #19566]');
my $file = tempfile();
open Ạ,'+>',$file; $a = 3;
is($a .= <Ạ>, 3, '#21628 - $a .= <A> , A eof');
- close
A
; $a = 4;
+ close
Ạ
; $a = 4;
is($a .= <Ạ>, 4, '#21628 - $a .= <A> , A closed');
}