4 use Test::More tests => 3;
7 use autodie qw(:1.994);
9 open(my $fh, '<', 'this_file_had_better_not_exist.txt');
12 isa_ok($@, 'autodie::exception', "Basic version tags work");
15 # Expanding :1.00 should fail, there was no autodie :1.00
16 eval { my $foo = autodie->_expand_tag(":1.00"); };
18 isnt($@,"","Expanding :1.00 should fail");
20 my $version = $autodie::VERSION;
22 # Expanding our current version should work!
23 eval { my $foo = autodie->_expand_tag(":$version"); };
25 is($@,"","Expanding :$version should succeed");