Commit 5a3eb25
Tighten MediaWiki ESCAPED_TAGS test to assert idempotency
The previous assertion only checked that 'tt' was present in
ESCAPED_TAGS after two renders, which would still pass if the
idempotency guard regressed and appended duplicates. Switch to
counting 'tt' occurrences so the test would fail if WikiCloth's
ESCAPED_TAGS<<'tt' ever ran twice.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Zack Koppert <zkoppert@github.com>1 parent 2a07090 commit 5a3eb25
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
188 | 189 | | |
189 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
190 | 193 | | |
191 | 194 | | |
192 | 195 | | |
| |||
0 commit comments