Skip to content

Instantly share code, notes, and snippets.

@exodist
Created December 30, 2016 19:45
Show Gist options
  • Save exodist/334bd5486beb418aaff187cb9cb8c5d6 to your computer and use it in GitHub Desktop.
Save exodist/334bd5486beb418aaff187cb9cb8c5d6 to your computer and use it in GitHub Desktop.
use Test2::Bundle::Extended;
subtest foo => sub {
ok(1);
subtest bar => sub {
ok(1);
subtest baz => sub {
ok(1);
bail_out "xx";
}
};
};
done_testing;
__END__
Output:
ok 1
Bail out! xx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment