Created
December 30, 2016 19:45
-
-
Save exodist/334bd5486beb418aaff187cb9cb8c5d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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