Testharness report for Testharness/testmodule.
This is the unit test report for Testharness/testmodule, which produces integrity checks and output for debugging Testharness/testmodule.
| Test suite status | |
|---|---|
| Scribunto test cases | |
| Code coverage |
Unit test report for Testharness/testmodule.
- Test members missing: none
- Test cases failing:
dump_args - Execution time: 0.1ms
Scribunto test cases
| ||||
|---|---|---|---|---|
| Status | Code | Expected | Actual | Differs at |
{{#invoke:testharness/testmodule|dump_args|one|two|buckle my shoe}} | 1 => "one"
2 => "two" 3 => "buckle my shoe" | 1 => "one"
2 => "two" 3 => "buckle my shoe" | ||
{{#invoke:testharness/testmodule|dump_args|first|overridden second|3=overridden third|third|2=second|fourth}} | 1 => "first"
2 => "second" 3 => "third" 4 => "fourth" | 1 => "first"
2 => "second" 3 => "third" 4 => "fourth" | ||
{{#invoke:testharness/testmodule|dump_args|99=Luftballons|0=zero|01=no cheeky padding|-0=minus zero|-1=minus one|3.14=pi|1e6=dreams|99999999999999=Lua represents this as 99999999999999. It can be accessed through `frame.args` via the index operator.|100000000000000=Lua represents this as 1e+14. It ''cannot'' be accessed through `frame.args` via the index operator.|9007199254740992=2^53|9007199254740993=2^53 + 1|-99999999999999=negative equivalent|-100000000000000=negative equivalent|-9007199254740992=negative equivalent|-9007199254740993=negative equivalent|inf=and beyond|one}} | -9007199254740992 => "negative equivalent"
-100000000000000 => "negative equivalent" -99999999999999 => "negative equivalent" -1 => "minus one" 0 => "zero" 1 => "one" 99 => "Luftballons" 99999999999999 => "Lua represents this as 99999999999999. It can be accessed through `frame.args` via the index operator." 100000000000000 => "Lua represents this as 1e+14. It ''cannot'' be accessed through `frame.args` via the index operator." 9007199254740992 => "2^53" "-0" => "minus zero" "-9007199254740993" => "negative equivalent" "01" => "no cheeky padding" "1e6" => "dreams" "3.14" => "pi" "9007199254740993" => "2^53 + 1" "inf" => "and beyond" | -9007199254740992 => "negative equivalent"
-100000000000000 => "negative equivalent" -99999999999999 => "negative equivalent" -1 => "minus one" 0 => "zero" 1 => "one" 99 => "Luftballons" 99999999999999 => "Lua represents this as 99999999999999. It can be accessed through `frame.args` via the index operator." 100000000000000 => "Lua represents this as 1e+14. It ''cannot'' be accessed through `frame.args` via the index operator." 9007199254740992 => "2^53" "-0" => "minus zero" "-9007199254740993" => "negative equivalent" "01" => "no cheeky padding" "1e6" => "dreams" "3.14" => "pi" "9007199254740993" => "2^53 + 1" "inf" => "and beyond" | ||
{{#invoke:testharness/testmodule|dump_args| My hovercraft is full of eels. }} | 1 => " My hovercraft is full of eels. " | 1 => " My hovercraft is full of eels. " | ||
{{#invoke:testharness/testmodule|dump_args|1= My hovercraft is full of eels. }} | 1 => "My hovercraft is full of eels." | 1 => "My hovercraft is full of eels." | ||
{{#invoke:testharness/testmodule|dump_args|when=you walk away| you = don't hear me say }} | "when" => "you walk away" "you" => "don't hear me say" | "when" => "you walk away" "you" => "don't hear me say" | ||
{{#invoke:testharness/testmodule|dump_args|"pleeeeeeeeeeeeeease, oh baby, don't go"|simple and clean = the way that you're making me feel tonight}} | 1 => "\"pleeeeeeeeeeeeeease, oh baby, don't go\"" "simple and clean" => "the way that you're making me feel tonight" | 1 => "\"pleeeeeeeeeeeeeease, oh baby, don't go\"" "simple and clean" => "the way that you're making me feel tonight" | ||
{{#invoke:testharness/testmodule|dump_args|== wikitext ==
* to [[wikipedia:HTML|HTML]] conversion
* should ''not'' happen at this stage}} | "" => "= wikitext ==\
* to [[wikipedia:HTML|HTML]] conversion\ * should ''not'' happen at this stage" | 1 => "=='\"`UNIQ--h-0--QINU`\"' wikitext ==\
* to [[wikipedia:HTML|HTML]] conversion\ * should ''not'' happen at this stage" | 1 | |
{{#invoke:testharness/testmodule|dump_args|{{=}}|[[wikipedia:2 + 2 = 5]]|{=}|{{!}}{{#if:{{#expr:1 + 1 = 2}}|8}}{{=}}{{t}}={{{oof|{{!}}{{=}}{{t}}}}}|{{#expr:9+90}}=Luftballons|{{#if:}|}x}}}y=no naive bracket counting, only pain|{{{foo}}}=non-existent params should be left as-is|{{x{{{this would be a template}}x}}}x=brace yourself for imbalance}} | 1 => "="
2 => "[[wikipedia:2 + 2 = 5]]" 99 => "Luftballons" "{" => "}" "<nowiki>{{x{[[:Template:This would be a template]]x}}}x</nowiki>" => "brace yourself for imbalance" "{{{foo}}}" => "non-existent params should be left as-is" "|8=}}" => "|=}}" "}x}y" => "no naive bracket counting, only pain" | 1 => "="
2 => "{=}" 3 => "|8=<strong class=\"error\">Error: no title specified.</strong>=|=<strong class=\"error\">Error: no title specified.</strong>" 4 => "99=Luftballons" 5 => "}x}y=no naive bracket counting, only pain|{{{foo}}}=non-existent params should be left as-is|'\"`UNIQ--nowiki-00000000-QINU`\"'=brace yourself for imbalance" "[[wikipedia:2 + 2" => "5]]" | 16 | |