Просмотр исходного кода

Alter a test that imitates strange (incorrect?) MediaWiki behavior.

tags/v0.3
Ben Kurtovic 11 лет назад
Родитель
Сommit
be505465c0
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      tests/tokenizer/external_links.mwtest

+ 2
- 2
tests/tokenizer/external_links.mwtest Просмотреть файл

@@ -146,9 +146,9 @@ output: [ExternalLinkOpen(brackets=True), Text(text="http://example.(com)"), Ext
---

name: brackets_open_bracket_inside
label: an open bracket inside a bracket-enclosed link that causes it to switch to the title context abruptly
label: an open bracket inside a bracket-enclosed link that is also included
input: "[http://foobar[baz.com Example]"
output: [ExternalLinkOpen(brackets=True), Text(text="http://foobar"), ExternalLinkSeparator(), Text(text="[baz.com Example"), ExternalLinkClose()]
output: [ExternalLinkOpen(brackets=True), Text(text="http://foobar[baz.com"), ExternalLinkSeparator(), Text(text="Example"), ExternalLinkClose()]

---



Загрузка…
Отмена
Сохранить