跳转到内容

Module:TNT/testcases/doc

維基文庫,自由的圖書館

这是Module:TNT/testcases的文档页面

N 4 tests failed.

Name Expected Actual
N test_doc / doc02 {"paramOrder":["param1","param2"],"description":"DO NOT EDIT OR TRANSLATE unless you are changing unit tests","params":{"param2":{"suggested":true,"type":"string","required":false,"label":"fr_label_2","example":"pl_example_2","description":"en_desc_2"},"param1":{"suggested":false,"type":"string","required":true,"label":"en_label_1","example":"en_example_1","description":"en_desc_1"}}} {"paramOrder":["param1","param2"],"description":"DO NOT EDIT OR TRANSLATE unless you are changing unit tests","params":{"param1":{"suggested":false,"type":"string","required":true,"label":"en_label_1","example":"en_example_1","description":"en_desc_1"},"param2":{"suggested":true,"type":"string","required":false,"label":"fr_label_2","example":"pl_example_2","description":"en_desc_2"}}}
Yes test_link
Yes test_msg
N test_msg_errors Module:TNT/testcases:90: msgerr01

Failed to find plain string "<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-" in string "<strong class="error"><span class="scribunto-error mw-scribunto-error-4835daf7">Module:TNT第167行Lua错误:第一个参数必须是共享资源数据集名称</span></strong>"

N test_msg_format / format13 Dataset [[c:Data:_bad_name_.tab]] is not valid 数据集[[c:Data:_bad_name_.tab]]无效
N test_msg_format_in_language / formatInLanguage13 Dataset [[c:Data:_bad_name_.tab]] is not valid 数据集[[c:Data:_bad_name_.tab]]无效


N 3 tests failed.

Name Expected Actual
Yes test_doc
Yes test_link
Yes test_msg
N test_msg_errors Module:TNT/testcases:90: msgerr01

Failed to find plain string "<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-" in string "<strong class="error"><span class="scribunto-error mw-scribunto-error-1482f2f1">Module:TNT/sandbox第154行Lua错误:第一个参数必须是共享资源数据集名称</span></strong>"

N test_msg_format / format13 Dataset [[c:Data:_bad_name_.tab]] is not valid 数据集[[c:Data:_bad_name_.tab]]无效
N test_msg_format_in_language / formatInLanguage13 Dataset [[c:Data:_bad_name_.tab]] is not valid 数据集[[c:Data:_bad_name_.tab]]无效