diff --git a/tap-version-14-specification.md b/tap-version-14-specification.md index 5f35a6d..2767c1d 100644 --- a/tap-version-14-specification.md +++ b/tap-version-14-specification.md @@ -60,7 +60,7 @@ TAPDocument := Version Plan Body | Version Body Plan Version := "TAP version 14\n" Plan := "1.." (Number) (" # " Reason)? "\n" Body := (TestPoint | BailOut | Pragma | Comment | Anything | Empty | Subtest)* -TestPoint := ("not ")? "ok" (" " Number)? ((" -")? (" " Description) )? (" " Directive)? "\n" (YAMLBlock)? +TestPoint := ("not ")? "ok" ((" " Number (" -")? | " -") (" " Description)?)? (" " Directive)? "\n" (YAMLBlock)? Directive := " # " ("todo" | "skip") (" " Reason)? YAMLBlock := " ---\n" (YAMLLine)* " ...\n" YAMLLine := " " (YAML)* "\n"