-- <pre>Unit tests.  Click talk page to run tests. 
local mLinks =require("Dev:Links") 
local p ={
    main={ -- function name
        tests = {
            preprocess_equals_many ={
                {'', '[//]'},
                {'g', '[[g]]'},
                {'', '[[]]'},
                {'Module:links|links', '[[Module:links|links]]'},
                {'|dev','[ dev]'},
                {'|purple|type=ext','[// purple]'},
    link = {
        tests = {
            equals= { 
                {'link with label','','dev'),'[ dev]',{nowiki=true}},
                {'ext link',''),'[]'},
                {'local link with label','g','test'), '[[g|test]]',{nowiki=true}},
                {'category link','Category:Browse'),'[[:Category:Browse]]'},
                {'external link with ext param','','purple',"ext"),'[// purple]'},
return p

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.