Skip to content

Instantly share code, notes, and snippets.

@ugexe
Created May 18, 2016 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ugexe/0fd759225aefbeac9c08d1cc87603206 to your computer and use it in GitHub Desktop.
Save ugexe/0fd759225aefbeac9c08d1cc87603206 to your computer and use it in GitHub Desktop.
$ 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)
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