remove tests that require having Test::Exception
Bruno Vecchi
14 years ago
0 | 0 | #!/usr/bin/env perl |
1 | 1 | use Test::More; |
2 | use Test::Exception; | |
3 | 2 | use autobox::Core; |
4 | 3 | |
5 | 4 | my %hash = ( 1 => 'foo', 2 => 'bar', 3 => 'bar' ); |
13 | 12 | |
14 | 13 | my %nested = ( 1 => { foo => 'bar' }, 2 => 'bar' ); |
15 | 14 | |
16 | dies_ok { %nested->flip } 'Dies if values are not valid hash keys'; | |
17 | ||
18 | 15 | done_testing; |