Testharness report for Error.
This is the unit test report for Error, which produces integrity checks and output for debugging Error.
| Test suite status | |
|---|---|
| Scribunto test cases | |
| Code coverage |
Unit test report for Error.
- Test members missing: none
- Test cases failing: none
- Execution time: 0.5ms
Scribunto test cases
| ||||
|---|---|---|---|---|
| Status | Code | Expected | Actual | Differs at |
p.error({ args = {}}) | no message specified | no message specified | ||
p.error({ args = { "" }}) | <strong class="error"></strong> | <strong class="error"></strong> | ||
p.error({ args = { "test" }}) | <strong class="error">test</strong> | <strong class="error">test</strong> | ||
p.error({ args = { message = "test" }}) | <strong class="error">test</strong> | <strong class="error">test</strong> | ||
p.error({ args = { "foo", message = "bar" }}) | <strong class="error">bar</strong> | <strong class="error">bar</strong> | ||
p.error({ args = { tag = "div" }}) | no message specified | no message specified | ||
p.error({ args = { "", tag = "div" }}) | <div class="error"></div> | <div class="error"></div> | ||
p.error({ args = { "", tag = "p" }}) | <p class="error"></p> | <p class="error"></p> | ||
p.error({ args = { "", tag = "span" }}) | <span class="error"></span> | <span class="error"></span> | ||
p.error({ args = { "", tag = "strong" }}) | <strong class="error"></strong> | <strong class="error"></strong> | ||
p.error({ args = { "", tag = "DIV" }}) | <div class="error"></div> | <div class="error"></div> | ||
p.error({ args = { "", tag = "" }}) | <strong class="error"></strong> | <strong class="error"></strong> | ||
p.error({ args = { "", tag = "tag" }}) | <strong class="error"></strong> | <strong class="error"></strong> | ||
p.error({ args = { "", tag = "<div>" }}) | <strong class="error"></strong> | <strong class="error"></strong> | ||
p.error({ args = { "test", tag = "div" }}) | <div class="error">test</div> | <div class="error">test</div> | ||
p.error({ args = { message = "test", tag = "div" }}) | <div class="error">test</div> | <div class="error">test</div> | ||
p.error({ args = { "[[Foo|bar]]" }}) | <strong class="error">[[Foo|bar]]</strong> | <strong class="error">[[Foo|bar]]</strong> | ||
p.error({ args = { "<code>test</code>" }}) | <strong class="error"><code>test</code></strong> | <strong class="error"><code>test</code></strong> | ||
p.error({}) | no message specified | no message specified | ||
p.error({ "test" }) | <strong class="error">test</strong> | <strong class="error">test</strong> | ||
p.error({ message = "test"}) | <strong class="error">test</strong> | <strong class="error">test</strong> | ||
p.error({ tag = "div"}) | no message specified | no message specified | ||
p.error({ "test", tag = "div"}) | <div class="error">test</div> | <div class="error">test</div> | ||
p.error({ message = "test", tag = "div"}) | <div class="error">test</div> | <div class="error">test</div> | ||