(text: string)
| 1162 | if (heading !== undefined) { |
| 1163 | if (examplesStarted) { |
| 1164 | diagnostics.push(diagnostic("section-after-example", `${heading} must appear before examples`)) |
| 1165 | } |
| 1166 | const order = standardHeadings.indexOf(heading) |
| 1167 | if (order <= currentSectionOrder) { |
| 1168 | diagnostics.push(diagnostic("section-out-of-order", `${heading} is out of order or duplicated`)) |
| 1169 | } |
| 1170 | currentSectionOrder = Math.max(currentSectionOrder, order) |
no test coverage detected
searching dependent graphs…