projects
/
p5sagit/B-Hooks-EndOfScope-WithFallback.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
history
|
HEAD
Start with a copy of B::H::EOS 0.09
[p5sagit/B-Hooks-EndOfScope-WithFallback.git]
/
t
/
exception.t
Commit
Line
Data
58b07c77
1
use strict;
2
use warnings;
3
use Test::More tests => 2;
4
5
use B::Hooks::EndOfScope;
6
7
eval q[
8
sub foo {
9
BEGIN {
10
on_scope_end { die 'bar' };
11
}
12
}
13
];
14
15
like($@, qr/^bar/);
16
pass('no segfault');