This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Be a bit more specific in what our second typeglob isn't. It is actually
authorNicholas Clark <nick@ccl4.org>
Wed, 11 Apr 2007 17:51:02 +0000 (17:51 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 11 Apr 2007 17:51:02 +0000 (17:51 +0000)
expected to be undef.

p4raw-id: //depot/perl@30913

t/op/ref.t

index 6e3c170..ba9aacf 100755 (executable)
@@ -467,7 +467,7 @@ TODO: {
     $name1 = "Left"; $name2 = "Left\0Right";
     my $glob2 = *{$name2};
 
-    isnt ($glob1, $glob2, "We get different typeglobs");
+    is ($glob1, undef, "We get different typeglobs. In fact, undef");
 
     *{$name1} = sub {"One"};
     *{$name2} = sub {"Two"};