Fandom Developers Wiki
Advertisement

Template:Talk header/testunit report for Tempnotice.

This is the unit test report for Tempnotice, which produces integrity checks and output for debugging Tempnotice.

Refresh
Test suite statusPassed
Scribunto test cases4/4
Code coverage2/2

Unit test report for Tempnotice.

  • Test members missing: none
  • Test cases failing: none
  • Execution time: 0.4ms

Scribunto test cases

p.main

4/4
StatusCodeExpectedActualDiffers at
Passing
{{#invoke:tempnotice|main|days={{#expr:({{#time: U |now + 2 days }} -{{#time:U|{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}}}})/(3600*24) }}|notice=This message will self-destruct in ...}}
This message will self-destruct in ...This message will self-destruct in ...
Passing
{{#invoke:tempnotice|main|days={{#expr:({{#time: U |now + 3 days }} -{{#time:U|{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}}}})/(3600*24) }}|notice=selfdestruct|template=true}}
{{selfdestruct}}{{selfdestruct}}
Passing
{{#invoke:tempnotice|main|days=0|notice=This message will self-destruct in ...}}
Passing
{{#invoke:tempnotice|main|days=0|notice=This message will self-destruct in ...|template=1}}
Advertisement