New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
done_testing() should work with no_plan #14
Comments
Is the bug the fact that the development version does not output the "The plan was already output at ..." message? [test-more] 528 $ perl -MTest::More\ no_plan -E 'pass($Test::More::VERSION);done_testing();' |
No, the dev version is doing the right thing (even though it's for the wrong reasons). Essentially, no_plan should have no effect on done_testing(). There should be no "plan was already seen" warning, even if you provide a count to The dev version is doing the wrong thing because it ignores
That should fail because only one test was run when it expected two, same as if This issue was originally opened targeting the master branch. If you want to hack on the dev version, just write tests for it and make them TODO if necessary. Plan enforcement in dev is in flux, so don't try to fix it in dev. And/or you can test and fix it in master. |
This is working in current stable and alphas. |
Add perltidyrc (copied from Test2-AsyncSubtest repo)
This should pass, just like done_testing(1) would.
The text was updated successfully, but these errors were encountered: