t/95-portability-files.t
t/99-kwalitee.t
t/lib/Variable/Magic/TestDestroyRequired.pm
-t/lib/Variable/Magic/TestDieRequired.pm
+t/lib/Variable/Magic/TestScopeEnd.pm
t/lib/Variable/Magic/TestValue.pm
t/lib/Variable/Magic/TestWatcher.pm
like $@, qr/pepperoni/, 'die in len callback in BEGIN';
use lib 't/lib';
-eval "use Variable::Magic::TestDieRequired";
+eval "use Variable::Magic::TestScopeEnd";
-like $@, qr/turnip/, 'die in required with localized hash gets the right error message';
+like $@, qr/turnip/, 'die in BEGIN in require triggers hints hash destructor';
-package Variable::Magic::TestDieRequired;
+package Variable::Magic::TestScopeEnd;
use Test::More;
}
BEGIN {
- hook { pass 'in Variable::Magic::TestRequired hook' };
+ hook { pass 'in hints hash destructor' };
die 'turnip';
}