-
-
Save zoffixznet/3b656911303ca8ae70faf2fb89952f34 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
$ cat foo.t | |
use Test; | |
plan 2; | |
ok 42, "meows"; | |
subtest "foos" => { | |
my $output = q:to/END/; | |
1..3 | |
ok meow | |
nok fozzz | |
ok meow meow | |
END | |
say $output.indent: 4; | |
} | |
$ prove -e 'perl6' -vlr foo.t | |
foo.t .. | |
1..2 | |
ok 1 - meows | |
1..3 | |
ok meow | |
nok fozzz | |
ok meow meow | |
1..0 | |
ok 2 - foos | |
ok | |
All tests successful. | |
Files=1, Tests=2, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.23 cusr 0.04 csys = 0.30 CPU) | |
Result: PASS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment