Module:zlw-slv-entryname/testcases

local tests = require("Module:UnitTests")

local makeEntryName = require "Module:zlw-slv-entryname".makeEntryName local toNfc = mw.ustring.toNFC

local function tag(text) return ' ' .. text .. ' ' end

function tests:test_makeEntryName self:iterate({		{ "gřė̀χ́", "gřėχ́" },	},	function(self, example, expected)		self:equals(tag(example), toNfc(makeEntryName(example)), toNfc(expected))	end) end

return tests