r14517 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14516‎ | r14517 | r14518 >
Date:08:21, 1 June 2006
Author:brion
Status:old
Tags:
Comment:
Add a couple pre-save transform tests
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -2419,7 +2419,27 @@
24202420 This template has <!-- a comment --> in it.
24212421 !! end
24222422
 2423+!! test
 2424+pre-save transform: unclosed tag
 2425+!! options
 2426+pst
 2427+!! input
 2428+<nowiki>'''missing end tag!'''
 2429+!! result
 2430+<nowiki>'''not wiki'''
 2431+!! end
24232432
 2433+!! test
 2434+pre-save transform: mixed tag case
 2435+!! options
 2436+pst
 2437+!! input
 2438+<NOwiki>'''missing end tag!'''</noWIKI>
 2439+!! result
 2440+<NOwiki>'''not wiki'''</noWIKI>
 2441+!! end
 2442+
 2443+
24242444 !! article
24252445 Template:dangerous
24262446 !!text

Status & tagging log