跳转到内容

模組:沙盒/BlackShadowG/Citation/CS1/testcases

维基百科,自由的百科全书
-- [[Module:Test]]的單元測試範例,前往討論頁以執行測試。
local p = require('Module:UnitTests')

function p:test_hello()
	self:preprocess_equals('{{#invoke:沙盒/BlackShadowG/Citation/CS1|citation|CitationClass=journal|title=Wikipedia|arxiv=1}}', '')
	self:preprocess_equals('{{#invoke:沙盒/BlackShadowG/Citation/CS1|citation|CitationClass=journal|title=Wikipedia|isbn=1}}', '')
end

return p