dev

Testharness report for Error.

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

Refresh
Test suite statusPassed
Scribunto test cases24/24
Code coverage1/1

Unit test report for Error.

Scribunto test cases

p.error

24/24
StatusCodeExpectedActualDiffers at
Passing
p.error({ args = {}})
Error
no message specified
Error
no message specified
Passing
p.error({ args = { "" }})
<strong class="error"></strong><strong class="error"></strong>
Passing
p.error({ args = { "test" }})
<strong class="error">test</strong><strong class="error">test</strong>
Passing
p.error({ args = {  message = "test" }})
<strong class="error">test</strong><strong class="error">test</strong>
Passing
p.error({ args = { "foo",  message = "bar" }})
<strong class="error">bar</strong><strong class="error">bar</strong>
Passing
p.error({ args = {  tag = "div" }})
Error
no message specified
Error
no message specified
Passing
p.error({ args = { "",  tag = "div" }})
<div class="error"></div><div class="error"></div>
Passing
p.error({ args = { "",  tag = "p" }})
<p class="error"></p><p class="error"></p>
Passing
p.error({ args = { "",  tag = "span" }})
<span class="error"></span><span class="error"></span>
Passing
p.error({ args = { "",  tag = "strong" }})
<strong class="error"></strong><strong class="error"></strong>
Passing
p.error({ args = { "",  tag = "DIV" }})
<div class="error"></div><div class="error"></div>
Passing
p.error({ args = { "",  tag = "" }})
<strong class="error"></strong><strong class="error"></strong>
Passing
p.error({ args = { "",  tag = "tag" }})
<strong class="error"></strong><strong class="error"></strong>
Passing
p.error({ args = { "",  tag = "<div>" }})
<strong class="error"></strong><strong class="error"></strong>
Passing
p.error({ args = { "test",  tag = "div" }})
<div class="error">test</div><div class="error">test</div>
Passing
p.error({ args = {  message = "test",  tag = "div" }})
<div class="error">test</div><div class="error">test</div>
Passing
p.error({ args = { "[[Foo|bar]]" }})
<strong class="error">[[Foo|bar]]</strong><strong class="error">[[Foo|bar]]</strong>
Passing
p.error({ args = { "<code>test</code>" }})
<strong class="error"><code>test</code></strong><strong class="error"><code>test</code></strong>
Passing
p.error({})
Error
no message specified
Error
no message specified
Passing
p.error({ "test" })
<strong class="error">test</strong><strong class="error">test</strong>
Passing
p.error({ message = "test"})
<strong class="error">test</strong><strong class="error">test</strong>
Passing
p.error({ tag = "div"})
Error
no message specified
Error
no message specified
Passing
p.error({ "test", tag = "div"})
<div class="error">test</div><div class="error">test</div>
Passing
p.error({ message = "test", tag = "div"})
<div class="error">test</div><div class="error">test</div>