Raku / tap-harness6

A TAP harness for Raku
Artistic License 2.0
8 stars 15 forks source link

Fix false passing report on compile time failures #10

Closed ugexe closed 7 years ago

ugexe commented 7 years ago

Test: perl6 -e 'use Test; my $fake_test_dir = "/tmp/t".IO andthen *.mkdir; my $fake_test_file = $fake_test_dir.child("should-fail.t") andthen *.spurt(q|use Test; use Not::Found; ok 0;|); nok( run($_, $fake_test_file), "Failing test should fail: $_" ) for <prove prove6>;'

Leont commented 7 years ago

Instead of $aggregator.failed, it should probably call $aggregator.has-errors

Leont commented 7 years ago

Fixed in master