Created
May 18, 2016 15:17
-
-
Save ugexe/0fd759225aefbeac9c08d1cc87603206 to your computer and use it in GitHub Desktop.
This file contains 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
$ perl6 -e 'my $out = shell q|perl6 test.pl6|, :out, :err; say $out.err.lines' | |
(# subtest 2) | |
$ perl6 -e 'my $out = shell q|perl6 test.pl6|, :out, :err; say $out.out.lines;' | |
(# subtest 1 ok 1 - test 1 ok 2 - test 2 1..2 ok 1 - subtest 1 ok 1 - test 3 1..1 ok 2 - subtest 2 1..2) |
This file contains 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 Test; | |
subtest { | |
ok 1, "test 1"; | |
ok 2, "test 2"; | |
}, "subtest 1"; | |
subtest { | |
ok 3, "test 3"; | |
}, "subtest 2"; | |
done-testing; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment