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
CommitLineData
c9a84c8b
NC
1#!./perl
2
3# These tests are not complete. Patches welcome.
4
5use Test::More tests => 3;
6
7BEGIN {use_ok( 'Tie::Hash' )};
8
9# these are "abstract virtual" parent methods
9d214558 10for my $method (qw( TIEHASH EXISTS )) {
c9a84c8b
NC
11 eval { Tie::Hash->$method() };
12 like( $@, qr/doesn't define an? $method/, "croaks on inherited $method()" );
13}