A. Pagaltzis wrote: > That would work. Of course once you have that, you don’t need to > allow assertions to run without a plan, since one can always say > > use Test::More tests => variable => 0; > pass(); > plan add_tests => 2; > pass(); > > instead of > > use Test::More; > pass(); > plan tests => 2; > pass(); > > which would still be an error. That way a mistake in a test > script won’t lead to Test::More silently converting an up-front > plan declarations into trailing ones.
Which brings us back to the original question: why should that be an error? -- There will be snacks.