Module:siwa-noun/testcases
Jump to navigation
Jump to search
- The following documentation is located at Module:siwa-noun/testcases/doc. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • tested module • sandbox
1 of 0 tests failed. (refresh)
| Text | Expected | Actual | |
|---|---|---|---|
Script error during testing: Module:siwa-noun/testcases:7: attempt to call field 'make_cases' (a nil value)stack traceback: [C]: in function 'make_cases' Module:siwa-noun/testcases:7: in function 'func' Module:UnitTests:313: in function 'iterate' Module:siwa-noun/testcases:17: in function <Module:siwa-noun/testcases:13> (tail call): ? (tail call): ? [C]: in function 'xpcall' Module:fun/xpcall:37: in function 'xpcall' Module:UnitTests:389: in function <Module:UnitTests:350> (tail call): ? mw.lua:527: in function <mw.lua:507> [C]: ? [C]: in function 'expandTemplate' mw.lua:333: in function <mw.lua:307> (tail call): ? (tail call): ? Module:documentation:1128: in function 'chunk' mw.lua:527: in function <mw.lua:507> [C]: ? | |||
local tests = require('Module:UnitTests')
local m_noun = require('Module:siwa-noun')
function tests:check_output(term, expected, noresp)
return tests:equals(
term,
m_noun.make_cases(term),
expected,
{ show_difference = true }
)
end
function tests:test_example()
local list = {
{"sivi", "g"}
}
self:iterate(list,"check_output")
end
return tests