Re: [PATCH av.c, op.c, perldiag.pod] "array field" -> "pseudo-hash field"
authorMichael G. Schwern <schwern@pobox.com>
Sun, 3 Oct 1999 17:34:17 +0000 (13:34 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 4 Oct 1999 07:15:16 +0000 (07:15 +0000)
To: perl5-porters@perl.org
Message-ID: <19991003173417.A4351@blackrider>

p4raw-id: //depot/cfgperl@4299

t/lib/fields.t
t/pragma/constant.t

index 6f3ea5b..da874d6 100755 (executable)
@@ -106,7 +106,7 @@ print "ok ", ++$testno, "\n";
 
 # We should get compile time failures field name typos
 eval q(my D3 $obj3 = $obj2; $obj3->{notthere} = "");
-print "not " unless $@ && $@ =~ /^No such field "notthere"/;
+print "not " unless $@ && $@ =~ /^No such pseudo-hash field "notthere"/;
 print "ok ", ++$testno, "\n";
 
 #fields::_dump();
index 15ce319..a56e081 100755 (executable)
@@ -151,7 +151,7 @@ print CHASH->{foo};
 print CARRAY->[1];
 print CPHASH->{foo};
 eval q{ CPHASH->{bar} };
-test 44, scalar($@ =~ /^No such array/);
+test 44, scalar($@ =~ /^No such pseudo-hash field/);
 print CCODE->(45);
 eval q{ CCODE->{foo} };
 test 46, scalar($@ =~ /^Constant is not a HASH/);