Sun Aug 8 11:18:33 BST 2010
Test-Result = Status [SP Test-Number] [SP Description]
[SP "#" SP Directive [SP Reason]] EOL
In Test-Harness-3.22's test suite, if you run "prove -v --directives
t/errors.t" all 23 numbered tests pass, but then errors.t adds another ok
without a test number. According to the the above EBNF grammar, the extra
"ok" at the end is valid, however, this constitutes an extra (24'th) test.
Since the plan specified 23 tests, the last ok is beyond that. The test
reported as passing.
Isn't it an error -- having tests beyond the plan's number of tests?
If the test number is not given is it implied since prove actually checks
to make sure that the numbers are in sequence?
More information about the tap-l