summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-12-28 09:59:06 +0000
committerNicholas Clark <nick@ccl4.org>2007-12-28 09:59:06 +0000
commit5c35adbb8fc4c988807097c4d379e2485ada5865 (patch)
tree68cb0d31f61fbabefe05d3673ae29eefe3550118 /t
parent662f1f9e0a1bbee45e1e02386151364c8517604e (diff)
downloadperl-5c35adbb8fc4c988807097c4d379e2485ada5865.tar.gz
First class regexps.
p4raw-id: //depot/perl@32751
Diffstat (limited to 't')
-rw-r--r--t/op/qr.t9
1 files changed, 1 insertions, 8 deletions
diff --git a/t/op/qr.t b/t/op/qr.t
index f8fc32f5e2..ff9449e759 100644
--- a/t/op/qr.t
+++ b/t/op/qr.t
@@ -6,15 +6,8 @@ BEGIN {
require './test.pl';
}
-plan tests => 2;
+plan tests => 1;
my $rx = qr//;
is(ref $rx, "Regexp", "qr// blessed into `Regexp' by default");
-
-#
-# DESTROY doesn't do anything in the case of qr// except make sure
-# that lookups for it don't end up in AUTOLOAD lookups. But make sure
-# it's there anyway.
-#
-ok($rx->can("DESTROY"), "DESTROY method defined for Regexp");