Jump to content

Module talk:Protect/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Petr Matas (talk | contribs) at 19:45, 19 August 2018 (Creating Module talk:Protect/testcases). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

All 12 tests passed.

test_protect
Text Expected Actual
checkY Keep location Error: Module:Protect/testcases:22: foo Error: Module:Protect/testcases:22: foo
checkY . Foo Foo
checkY . table table
checkY : Error: missing argument Error: missing argument
checkY : Foo Foo
checkY Success Foo Foo
checkY Default error Error: foo Error: foo
checkY No caught message Error: (no message) Error: (no message)
checkY Custom errFormat Failure (foo) Failure (foo)
checkY Raw errFormat Error: foo Error: foo
checkY Custom raw errFormat Failure (foo) Failure (foo)
checkY Remove location Error: foo Error: foo