This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Support Unicode properties Identifier_(Status|Type)
[perl5.git] / lib / Tie / Hash.t
1 #!./perl
2
3 # These tests are not complete. Patches welcome.
4
5 use Test::More tests => 3;
6
7 BEGIN {use_ok( 'Tie::Hash' )};
8
9 # these are "abstract virtual" parent methods
10 for my $method (qw( TIEHASH EXISTS )) {
11         eval { Tie::Hash->$method() };
12         like( $@, qr/doesn't define an? $method/, "croaks on inherited $method()" );
13 }