Jump to content

Module talk:SortName/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

All 12 tests passed.

test_sortname
Text Expected Actual
checkY {{#invoke:SortName|sortname|Jim Excelsior Tyler}} Tyler, Jim Excelsior Tyler, Jim Excelsior
checkY {{#invoke:SortName|sortname|Jim}} Jim Jim
checkY {{#invoke:SortName|sortname|List of people named Jim}} People named Jim People named Jim
checkY {{#invoke:SortName|sortname|List of jims}} Jims Jims
checkY {{#invoke:SortName|sortname|Jim Tyler (musician)}} Tyler, Jim Tyler, Jim
checkY {{#invoke:SortName|sortname|Jim Tyler, man and myth}} Tyler, Jim Tyler, Jim
checkY {{#invoke:SortName|sortname|Jim Tyler of Clan Tyler}} Tyler, Jim Tyler, Jim
checkY {{#invoke:SortName|sortname|Jim von Tyler}} von Tyler, Jim von Tyler, Jim
checkY {{#invoke:SortName|sortname|Jim Von Tyler}} Von Tyler, Jim Von Tyler, Jim
checkY {{#invoke:SortName|sortname|Jim Tyler III}} Tyler 3, Jim Tyler 3, Jim
checkY {{#invoke:SortName|sortname|Jim III}} Jim 3 Jim 3
checkY {{#invoke:SortName|sortname|Jim Tyler III, Emperor of New Brunswick}} Tyler 3, Jim Tyler 3, Jim

Start a discussion about improving the Module:SortName/testcases page

Start a discussion