Skip to content

Commit 2aa50d2

Browse files
committed
Fix missing space in plan grammar
I believe this was an unintentional error; the grammar at the beginning of the specification does include the space.
1 parent 0776976 commit 2aa50d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tap-version-14-specification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ This is a safeguard against test data being truncated or damaged in some
198198
other way, rendering the output unreliable.
199199

200200
The Plan lists the range of test point IDs that are expected in the TAP
201-
stream. It can also optionally contain a comment/reason prefixed by a `#`.
201+
stream. It can also optionally contain a comment/reason preceded by ` # `.
202202

203203
Its basic grammar is:
204204

205205
```ebnf
206-
Plan := "1.." Number ("" | "# " Reason)
206+
Plan := "1.." Number (" # " Reason)? "\n"
207207
```
208208

209209
A plan line of `1..0` indicates that the test set was completely skipped;

0 commit comments

Comments
 (0)