diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-10-08 20:30:08 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-10-08 20:31:10 +0200 |
commit | 8314a0a6723be4c95f56df951e17c556a4936c12 (patch) | |
tree | 446fd5aabd5dad6ea1ba46d2e58c8f9d1be6f392 /t/comp/require.t | |
parent | 458818ec6f31dcd80a048d863a867a74ad384d02 (diff) | |
download | perl-8314a0a6723be4c95f56df951e17c556a4936c12.tar.gz |
Move the test for RT #49472 to op/attrs.t from comp/require.t
Diffstat (limited to 't/comp/require.t')
-rw-r--r-- | t/comp/require.t | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/t/comp/require.t b/t/comp/require.t index d561ad64c0..032a14749b 100644 --- a/t/comp/require.t +++ b/t/comp/require.t @@ -15,7 +15,7 @@ krunch.pm krunch.pmc whap.pm whap.pmc); my $Is_EBCDIC = (ord('A') == 193) ? 1 : 0; my $Is_UTF8 = (${^OPEN} || "") =~ /:utf8/; -my $total_tests = 50; +my $total_tests = 49; if ($Is_EBCDIC || $Is_UTF8) { $total_tests -= 3; } print "1..$total_tests\n"; @@ -257,20 +257,6 @@ EOT } } -# [perl #49472] Attributes + Unkown Error - -{ - do_require - 'use strict;sub MODIFY_CODE_ATTRIBUTE{} sub f:Blah {$nosuchvar}'; - my $err = $@; - $err .= "\n" unless $err =~ /\n$/; - unless ($err =~ /Global symbol "\$nosuchvar" requires /) { - $err =~ s/^/# /mg; - print "${err}not "; - } - print "ok ", ++$i, " [perl #49472]\n"; -} - ########################################## # What follows are UTF-8 specific tests. # # Add generic tests before this point. # |