Jump to content

Module:Protect/testcases: Revision history


Here you can take a look at older versions of this page, and compare different versions.

  • Click the date to see an old version.
  • To compare two versions (changes), click the circles (in separate columns) next to them. Then click the Compare button to see the differences between them.
  • You can use (cur) to compare an old version with the newest (or current) one. You can use (last) to compare any version with the one just before it.
  • The letter m next to a change means that the change was marked as small (or minor).

4 August 2021

  • curlast 19:3519:35, 4 August 2021 MeritedElm63160 talk changes 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}}')..."