Jump to content

Module:Text/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hike395 (talk | contribs) at 20:01, 9 January 2022 (duh). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = require('Module:UnitTests')
local Text = require('Module:Text').Text()

function p:testGetPlain()
	self:equals(Text.getPlain('a and b'),'a and b')
end

return p