https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3ACompact_list%2Ftestcases Module:Compact list/testcases - Revision history 2025-05-30T10:32:04Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.3 https://en.wikipedia.org/w/index.php?title=Module:Compact_list/testcases&diff=1130216291&oldid=prev Hike395: update tests 2022-12-29T04:15:13Z <p>update tests</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:15, 29 December 2022</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 5:</td> <td colspan="2" class="diff-lineno">Line 5:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|xxx=111}}','')</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|xxx=111}}','')</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|spud=1234}}','A')</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|spud=1234}}','A')</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook_2=B}}','{{<del style="font-weight: bold; text-decoration: none;">enum</del>|A|B}}')</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook_2=B}}','{{<ins style="font-weight: bold; text-decoration: none;">hlist</ins>|A|B}}')</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook0=B|ook30=C|fook=234}}','{{<del style="font-weight: bold; text-decoration: none;">enum</del>|A|B|C}}')</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook0=B|ook30=C|fook=234}}','{{<ins style="font-weight: bold; text-decoration: none;">hlist</ins>|A|B|C}}')</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D}}','{{<del style="font-weight: bold; text-decoration: none;">enum</del>|A|B|C|D}}')</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D}}','{{<ins style="font-weight: bold; text-decoration: none;">hlist</ins>|A|B|C|D}}')</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234}}',</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234}}',</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> '{{collapsible list|A|B|C|D|E}}')</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> '{{collapsible list|A|B|C|D|E}}')</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234|_limit=5}}',</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234|_limit=5}}',</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> '{{<del style="font-weight: bold; text-decoration: none;">enum</del>|A|B|C|D|E}}')</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> '{{<ins style="font-weight: bold; text-decoration: none;">hlist</ins>|A|B|C|D|E}}')</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D|ook4=E|ook5=F|ook6=G|ook7=H|ook8=I|ook9=J}}',</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D|ook4=E|ook5=F|ook6=G|ook7=H|ook8=I|ook9=J}}',</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> '{{collapsible list|A|B|C|D|E|F|G|H|I|J}}')</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> '{{collapsible list|A|B|C|D|E|F|G|H|I|J}}')</div></td> </tr> </table> Hike395 https://en.wikipedia.org/w/index.php?title=Module:Compact_list/testcases&diff=950660869&oldid=prev Hike395: name 2020-04-13T06:31:36Z <p>name</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 06:31, 13 April 2020</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>-- Unit tests for [[Module:<del style="font-weight: bold; text-decoration: none;">{{ROOTPAGENAME}}</del>]]. Click talk page to run tests.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>-- Unit tests for [[Module:<ins style="font-weight: bold; text-decoration: none;">Compact list</ins>]]. Click talk page to run tests.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local p = require('Module:UnitTests')</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>local p = require('Module:UnitTests')</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> </table> Hike395 https://en.wikipedia.org/w/index.php?title=Module:Compact_list/testcases&diff=950660837&oldid=prev Hike395: testcases 2020-04-13T06:31:14Z <p>testcases</p> <p><b>New page</b></p><div>-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.<br /> local p = require(&#039;Module:UnitTests&#039;)<br /> <br /> function p:test()<br /> self:preprocess_equals_preprocess(&#039;{{#invoke:Compact list|main|ook|xxx=111}}&#039;,&#039;&#039;)<br /> self:preprocess_equals_preprocess(&#039;{{#invoke:Compact list|main|ook|ook=A|spud=1234}}&#039;,&#039;A&#039;)<br /> self:preprocess_equals_preprocess(&#039;{{#invoke:Compact list|main|ook|ook1=A|ook_2=B}}&#039;,&#039;{{enum|A|B}}&#039;)<br /> self:preprocess_equals_preprocess(&#039;{{#invoke:Compact list|main|ook|ook=A|ook0=B|ook30=C|fook=234}}&#039;,&#039;{{enum|A|B|C}}&#039;)<br /> self:preprocess_equals_preprocess(&#039;{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D}}&#039;,&#039;{{enum|A|B|C|D}}&#039;)<br /> self:preprocess_equals_preprocess(&#039;{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234}}&#039;,<br /> &#039;{{collapsible list|A|B|C|D|E}}&#039;)<br /> self:preprocess_equals_preprocess(&#039;{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234|_limit=5}}&#039;,<br /> &#039;{{enum|A|B|C|D|E}}&#039;)<br /> self:preprocess_equals_preprocess(&#039;{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D|ook4=E|ook5=F|ook6=G|ook7=H|ook8=I|ook9=J}}&#039;,<br /> &#039;{{collapsible list|A|B|C|D|E|F|G|H|I|J}}&#039;)<br /> end<br /> <br /> return p</div> Hike395