Module:Jcttop/core/testcases
< Module:Jcttop/core
Revision as of 15:07, 4 October 2021 by Wikipedia>Izno (still don't know why these are screwy, but remove the couple removed things)
Documentation for this module may be created at Module:Jcttop/core/testcases/doc
-- Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_indep_city_special()
self:preprocess_equals('{{#invoke:Jcttop/core | jcttop | indep_city_special=[[Denver]]}}\n|}', 'The entire route is in [[Denver]].\n{| class="plainrowheaders wikitable"\n<tr><th scope="col"></th><th scope="col"></th><th scope="col">Destinations</th><th scope="col">Notes</th></tr></table>')
self:preprocess_equals('{{#invoke:Jcttop/core/sandbox | jcttop | indep_city_special=[[Denver]]}}\n|}', 'The entire route is in [[Denver]].\n{| class="plainrowheaders wikitable"\n<tr><th scope="col"></th><th scope="col"></th><th scope="col">Destinations</th><th scope="col">Notes</th></tr></table>')
end
return p