Pārlūkot izejas kodu

Add a failing test for #89.

tags/v0.4
Ben Kurtovic pirms 10 gadiem
vecāks
revīzija
47b44a9730
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. +7
    -0
      tests/tokenizer/tags.mwtest

+ 7
- 0
tests/tokenizer/tags.mwtest Parādīt failu

@@ -611,3 +611,10 @@ name: capitalization
label: caps should be ignored within tag names
input: "<NoWiKi>{{test}}</nOwIkI>"
output: [TagOpenOpen(), Text(text="NoWiKi"), TagCloseOpen(padding=""), Text(text="{{test}}"), TagOpenClose(), Text(text="nOwIkI"), TagCloseClose()]

---

name: unparsable_with_intermediates
label: an unparsable tag with intermediate tags inside of it
input: "<nowiki><ref></ref></nowiki>"
output: [TagOpenOpen(), Text(text="nowiki"), TagCloseOpen(padding=""), Text(text="<ref></ref>"), TagOpenClose(), Text(text="nowiki"), TagCloseClose()]

Notiek ielāde…
Atcelt
Saglabāt