Module:License/testcases
Lua
Documentation for this module may be created at Module:License/testcases/doc
Code
-- Unit tests for [[Module:License]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_cc_by_basic()
self:preprocess_equals('{{License from structured data|id=M32347051}}', '{{cc-by-sa-3.0-nl}}')
self:preprocess_equals('{{License from structured data|id=M32347051}}', '{{cc-by-sa-3.0-nll}}')
end
return p