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
(parent:
f717afa
)
TODO tests for parsing our() now pass
author
Brian Fraser
<fraserbn@gmail.com>
Thu, 6 Oct 2011 05:16:32 +0000
(22:16 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 6 Oct 2011 20:01:19 +0000
(13:01 -0700)
t/uni/parser.t
patch
|
blob
|
blame
|
history
diff --git
a/t/uni/parser.t
b/t/uni/parser.t
index
a939f9e
..
42c9520
100644
(file)
--- a/
t/uni/parser.t
+++ b/
t/uni/parser.t
@@
-96,10
+96,7
@@
like( $@, qr/Malformed prototype for main::wròng1/, 'Malformed prototype croak
eval q{ sub ча::ики ($__); ча::ики(1,2) };
like( $@, qr/Malformed prototype for ча::ики/ );
-TODO: {
- our $TODO = "our isn't clean in this branch";
- our $問 = 10;
- is $問, 10;
- is $main::問, 10;
- is ${"main::\345\225\217"}, undef;
-}
+our $問 = 10;
+is $問, 10, "our works";
+is $main::問, 10, "...as does getting the same variable through the fully qualified name";
+is ${"main::\345\225\217"}, undef, "..and using the encoded form doesn't";