Module talk:Template translation/testcases

From Bonkipedia

3 tests failed.

test_checkLanguage:

Text Expected Actual
Yes en en en
Yes en-us en-us en-us
Yes sr-cyrl sr-cyrl sr-cyrl
Yes fr-brai-ca fr-brai-ca fr-brai-ca
Yes de-ch de-ch de-ch
Yes a en en
Yes en--gb fr fr
Yes én es es
Yes en> nil nil

test_getFrameLanguageSubpage:

Text Expected Actual
N MediaWiki en
Yes MediaWiki/fr fr fr
Yes MediaWiki/de_ de de

test_getLanguageSubpage:

Text Expected Actual
N subpage en

test_getTranslatedTemplate:

Text Expected Actual
Yes Extension Template:Extension/en Template:Extension/en
N Extension/de Template:Extension/de Template:Extension/en
Yes Extension/de-ch Template:Extension/en Template:Extension/en
Yes Extension123 Extension123 Extension123