Template:Talk header/testunit report for Tempnotice.
This is the unit test report for Tempnotice, which produces integrity checks and output for debugging Tempnotice.
Test suite status | |
---|---|
Scribunto test cases | |
Code coverage |
Unit test report for Tempnotice.
- Test members missing: none
- Test cases failing: none
- Execution time: 0.4ms
Scribunto test cases
| ||||
---|---|---|---|---|
Status | Code | Expected | Actual | Differs at |
{{#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 ... | ||
{{#invoke:tempnotice|main|days={{#expr:({{#time: U |now + 3 days }} -{{#time:U|{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}}}})/(3600*24) }}|notice=selfdestruct|template=true}} | {{selfdestruct}} | {{selfdestruct}} | ||
{{#invoke:tempnotice|main|days=0|notice=This message will self-destruct in ...}} | ||||
{{#invoke:tempnotice|main|days=0|notice=This message will self-destruct in ...|template=1}} |