All 109 tests passed.
Text | Expected | Actual | |
---|---|---|---|
![]() |
|||
![]() |
{65,104,97}
|
Aha | Aha |
![]() |
{"65",104,97}
|
Aha | Aha |
![]() |
{98,108,97},2
|
blabla | blabla |
![]() |
{"something"}
|
error | error |
![]() |
"something",1,true
|
||
![]() |
{7,8,9}
|
error | error |
![]() |
{{#invoke:Text|char|65 104 97}} | Aha | Aha |
![]() |
{{#invoke:Text|char|98 108 97|*=2}} | blabla | blabla |
![]() |
{{#invoke:Text|char|something|errors=0}} |
Text | Expected | Actual | |
---|---|---|---|
![]() |
|||
![]() |
{}
|
||
![]() |
A
|
A | A |
![]() |
{"A"}
|
A | A |
![]() |
{"A","B","C"}
|
A|B|C | A|B|C |
![]() |
{"A","B","C"},"-"
|
A-B-C | A-B-C |
![]() |
{"1","2","3"},nil,"%.2f"
|
1.00|2.00|3.00 | 1.00|2.00|3.00 |
![]() |
{{#invoke:Text|concatParams|1|2|3|separator=:|format=%.2f}} | 1.00:2.00:3.00 | 1.00:2.00:3.00 |
Text | Expected | Actual | |
---|---|---|---|
![]() |
false | false | |
![]() |
Draco Dormiens Nunquam Titillandus
|
false | false |
![]() |
Никогда не щекочи спящего дракона
|
false | false |
![]() |
सोए शेर को न जगाओ
|
false | false |
![]() |
永远不要惊醒卧龙
|
true | true |
![]() |
眠っているドラゴンをくすぐることはありません
|
true | true |
![]() |
잠자는 용을 간지럽히지 마십시오
|
true | true |
Text | Expected | Actual | |
---|---|---|---|
![]() |
{{#invoke:Text|containsCJK|a}} | ||
![]() |
{{#invoke:Text|containsCJK|日}} | 1 | 1 |
![]() |
{{#invoke:Text|isLatinRange|日}} | ||
![]() |
{{#invoke:Text|isLatinRange|a}} | 1 | 1 |
![]() |
{{#invoke:Text|isQuote|日}} | ||
![]() |
{{#invoke:Text|isQuote|„}} | 1 | 1 |
![]() |
{{#invoke:Text|sentenceTerminated|日}} | ||
![]() |
{{#invoke:Text|sentenceTerminated|a.}} | 1 | 1 |
![]() |
{{#invoke:Text|getPlain|a}} | a | a |
![]() |
{{#invoke:Text|removeDiacritics|a}} | a | a |
![]() |
{{#invoke:Text|ucfirstAll|a}} | A | A |
![]() |
{{#invoke:Text|uprightNonlatin|a}} | a | a |
Text | Expected | Actual | |
---|---|---|---|
![]() |
a and b
|
a and b | a and b |
![]() |
a<!--comment-->b
|
ab | ab |
![]() |
<!--comment-->hello, world<!--comment 2-->
|
hello, world | hello, world |
![]() |
a <nowiki>b c</nowiki>
|
a b c | a b c |
![]() |
'''a'''
|
a | a |
![]() |
''b''
|
b | b |
![]() |
'''a''' and ''b''
|
a and b | a and b |
![]() |
a and b
|
a and b | a and b |
![]() |
'''a'' and '''b''
|
a and b | a and b |
![]() |
a<!--I am an unclosed comment
|
a | a |
![]() |
'''unclosed bold
|
unclosed bold | unclosed bold |
![]() |
<!-- hello -- -->'''a''' <!--world-->''<nowiki>b</nowiki>
|
a b | a b |
![]() |
<b>a</b> '''b'''<!-- hello -- world -->, <div style='font-size:100%;'>c</div>
|
a b, c | a b, c |
Text | Expected | Actual | |
---|---|---|---|
![]() |
true | true | |
![]() |
abcd
|
true | true |
![]() |
Ça ira
|
true | true |
![]() |
α – Ω
|
false | false |
![]() |
a日本d
|
false | false |
Text | Expected | Actual | |
---|---|---|---|
![]() |
false | false | |
![]() |
"
|
true | true |
![]() |
日
|
false | false |
![]() |
abc"
|
false | false |
Text | Expected | Actual | |
---|---|---|---|
![]() |
|||
![]() |
{}
|
||
![]() |
A
|
A | A |
![]() |
{"A"}
|
A | A |
![]() |
{"A","B","C"}
|
A, B and C | A, B and C |
![]() |
{"1","2","3"},"%.2f"
|
1.00, 2.00 and 3.00 | 1.00, 2.00 and 3.00 |
![]() |
{{#invoke:Text|listToText|1|2|3|format=%.2f}} | 1.00, 2.00 and 3.00 | 1.00, 2.00 and 3.00 |
Text | Expected | Actual | |
---|---|---|---|
![]() |
“” | “” | |
![]() |
abcd
|
“abcd” | “abcd” |
![]() |
"abcd"
|
“"abcd"” | “"abcd"” |
![]() |
fr | « abcd » | « abcd » |
![]() |
fr2 | ‹ abcd › | ‹ abcd › |
Text | Expected | Actual | |
---|---|---|---|
![]() |
|||
![]() |
abcd
|
“abcd” | “abcd” |
![]() |
"abcd"
|
"abcd" | "abcd" |
![]() |
fr | « abcd » | « abcd » |
![]() |
fr2 | ‹ abcd › | ‹ abcd › |
Text | Expected | Actual | |
---|---|---|---|
![]() |
comment | ab | ab |
![]() |
2 comments | hello, world | hello, world |
![]() |
ref | in foo. | in foo. |
Text | Expected | Actual | |
---|---|---|---|
![]() |
|||
![]() |
abcd
|
abcd | abcd |
![]() |
âbçdé
|
abcde | abcde |
![]() |
a日本d
|
a日本d | a日本d |
Text | Expected | Actual | |
---|---|---|---|
![]() |
Hello
|
false | false |
![]() |
(Hello)
|
false | false |
![]() |
Hello.
|
true | true |
![]() |
„Deutsche“
|
false | false |
![]() |
„Deutsche?“
|
true | true |
![]() |
"English?"
|
true | true |
![]() |
[[Hello!]]
|
true | true |
Text | Expected | Actual | |
---|---|---|---|
![]() |
|||
![]() |
25
|
25 | 25 |
![]() |
Help test me
|
Help Test Me | Help Test Me |
![]() |
an der Schönen
|
An Der Schönen | An Der Schönen |
![]() |
an der Schönen &lauen
|
An Der Schönen &Lauen | An Der Schönen &Lauen |
![]() |
HTML ndash | An Der Schönen &Lauen Donau – X Y Z | An Der Schönen &Lauen Donau – X Y Z |
![]() |
HTML nbsp | A B | A B |
![]() |
many HTML | &<> | &<> |
Text | Expected | Actual | |
---|---|---|---|
![]() |
abc
|
abc | abc |
![]() |
abc
|
abc | abc |
![]() |
Mutsṭafah
|
Mutsṭafah | Mutsṭafah |
![]() |
μm
|
μm | μm |
![]() |
1 α-particle
|
1 α-particle | 1 α-particle |
![]() |
Method 3α
|
Method 3α | Method 3α |
![]() |
ΣΨΩ
|
ΣΨΩ | ΣΨΩ |
![]() |
abcΣΨΩxyz
|
abcΣΨΩxyz | abcΣΨΩxyz |
![]() |
abЩyz
|
abЩyz | abЩyz |
![]() |
Войната 1915 година. Втора Македония
|
Войната 1915 година. Втора Македония | Войната 1915 година. Втора Македония |
![]() |
a日本d
|
a日本d | a日本d |
Start a discussion about improving the Module:Text/testcases page
Talk pages are where people discuss how to make content on Wikipedia the best that it can be. You can use this page to start a discussion with others about how to improve the "Module:Text/testcases" page.