use strict;
#use warnings;
-use Test::More tests => 12;
+use Test::More tests => 13;
BEGIN { use_ok 'Try::Tiny' };
is_deeply(\@_, [ "Die\n" ], "finally got passed the exception");
};
+try {
+ try {
+ die "foo";
+ }
+ catch {
+ die "bar";
+ }
+ finally {
+ pass("finally called");
+ };
+};
+
1;