From: Michael G. Schwern Date: Sun, 3 Oct 1999 17:34:17 +0000 (-0400) Subject: Re: [PATCH av.c, op.c, perldiag.pod] "array field" -> "pseudo-hash field" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ae9a5a847a09b4c18f5fbd105f44565c8d01a3b2;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH av.c, op.c, perldiag.pod] "array field" -> "pseudo-hash field" To: perl5-porters@perl.org Message-ID: <19991003173417.A4351@blackrider> p4raw-id: //depot/cfgperl@4299 --- diff --git a/t/lib/fields.t b/t/lib/fields.t index 6f3ea5bb..da874d6 100755 --- a/t/lib/fields.t +++ b/t/lib/fields.t @@ -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(); diff --git a/t/pragma/constant.t b/t/pragma/constant.t index 15ce319..a56e081 100755 --- a/t/pragma/constant.t +++ b/t/pragma/constant.t @@ -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/);