From: Brian Fraser Date: Thu, 6 Oct 2011 05:16:32 +0000 (-0700) Subject: TODO tests for parsing our() now pass X-Git-Tag: accepted/trunk/20130322.191538~2492^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23b0eed2c59cf311029388df8668341f4151dd82;p=platform%2Fupstream%2Fperl.git TODO tests for parsing our() now pass --- diff --git a/t/uni/parser.t b/t/uni/parser.t index a939f9e..42c9520 100644 --- 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";