Toggle menu
15
236
70
27.5K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Protect/testcases: Revision history

From Kenshi Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

8 March 2025

  • curprev 17:3617:36, 8 March 2025 Prd talk contribs 1,591 bytes +1,591 Created page with "local p = require('Module:UnitTests') local protect = require('Module:Protect') local o = {} function o.f1(a) if not a then error('missing argument') end return a end function o:f2(a) if not a then error('missing argument') end return a end function p:test_protect() self:equals( 'Keep location', protect(error, {removeLocation = false})('foo', 3), self.frame:preprocess('{{Error|Error: Module:Protect/testcases:22: foo}}')..."