Tests for bug 31490 : turkish magic word with a 'i' are broken :d
authorAntoine Musso <hashar@users.mediawiki.org>
Fri, 7 Oct 2011 20:18:17 +0000 (20:18 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Fri, 7 Oct 2011 20:18:17 +0000 (20:18 +0000)
The 4 first tests fails and need fixing :-)

Follow up r84057

tests/parser/bug31490.txt [new file with mode: 0644]

diff --git a/tests/parser/bug31490.txt b/tests/parser/bug31490.txt
new file mode 100644 (file)
index 0000000..ca28ad7
--- /dev/null
@@ -0,0 +1,55 @@
+!! test
+Bug31490 Turkish: ucfirst 'blah'
+!! options
+language=tr
+!! input
+{{ucfirst:blah}}
+!! result
+<p>Blah
+</p>
+!! end
+
+!! test
+Bug31490 Turkish: ucfirst 'ix'
+!! options
+language=tr
+!! input
+{{ucfirst:ix}}
+!! result
+<p>Ix
+</p>
+!! end
+
+!! test
+Bug31490 Turkish: lcfirst 'BLAH'
+!! options
+language=tr
+!! input
+{{lcfirst:BLAH}}
+!! result
+<p>bLAH
+</p>
+!! end
+
+!! test
+Bug31490 Turkish: ucfırst (with a dotless i)
+!! options
+language=tr
+!! input
+{{ucfırst:blah}}
+!! result
+<p><a href="/index.php?title=Template:Ucf%C4%B1rst:blah&amp;action=edit&amp;redlink=1" class="new" title="Template:Ucfırst:blah (page does not exist)">Template:Ucfırst:blah</a>
+</p>
+!! end
+
+!! test
+Bug31490 ucfırst (with a dotless i) with English language
+!! options
+language=en
+!! input
+{{ucfırst:blah}}
+!! result
+<p><a href="/index.php?title=Template:Ucf%C4%B1rst:blah&amp;action=edit&amp;redlink=1" class="new" title="Template:Ucfırst:blah (page does not exist)">Template:Ucfırst:blah</a>
+</p>
+!! end
+