<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ANavbar%2Ftestcases</id>
	<title>Module:Navbar/testcases - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ANavbar%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Navbar/testcases&amp;action=history"/>
	<updated>2026-04-21T14:51:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Navbar/testcases&amp;diff=144093&amp;oldid=prev</id>
		<title>imported&gt;WOSlinker: use require(&#039;strict&#039;) instead of require(&#039;Module:No globals&#039;)</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Navbar/testcases&amp;diff=144093&amp;oldid=prev"/>
		<updated>2022-10-21T12:22:51Z</updated>

		<summary type="html">&lt;p&gt;use require(&amp;#039;strict&amp;#039;) instead of require(&amp;#039;Module:No globals&amp;#039;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--Quick and few tests of using the _navbar function directly, as they won&amp;#039;t be caught in tests of {{navbar}}&lt;br /&gt;
local p = {}&lt;br /&gt;
local n = require(&amp;#039;Module:Navbar&amp;#039;)&lt;br /&gt;
local ns = require(&amp;#039;Module:Navbar/sandbox&amp;#039;)&lt;br /&gt;
require(&amp;#039;strict&amp;#039;) --make sure no globals&lt;br /&gt;
&lt;br /&gt;
function p.main()&lt;br /&gt;
	local out = {}&lt;br /&gt;
	for i = 1,2 do&lt;br /&gt;
		local k = {&amp;#039;yes&amp;#039;, nil}&lt;br /&gt;
		table.insert(out, {&lt;br /&gt;
		n._navbar({collapsible = k[i], template =  &amp;#039;V/doc&amp;#039;}),&lt;br /&gt;
		ns._navbar({collapsible = k[i], template = &amp;#039;V/doc&amp;#039;}),&lt;br /&gt;
		&amp;#039;&amp;lt;br/&amp;gt;----&amp;#039;,&lt;br /&gt;
		n._navbar({collapsible = k[i], template = &amp;#039;V/doc&amp;#039;, &amp;#039;h&amp;#039;, &amp;#039;m&amp;#039;, &amp;#039;&amp;#039;}),&lt;br /&gt;
		ns._navbar({collapsible = k[i], template = &amp;#039;V/doc&amp;#039;, &amp;#039;h&amp;#039;, &amp;#039;m&amp;#039;, &amp;#039;&amp;#039;}),&lt;br /&gt;
		&amp;#039;&amp;lt;br/&amp;gt;----&amp;#039;,&lt;br /&gt;
		n._navbar({collapsible = k[i], &amp;#039;V/doc&amp;#039;, &amp;#039;h&amp;#039;, &amp;#039;m&amp;#039;}),&lt;br /&gt;
		ns._navbar({collapsible = k[i], &amp;#039;V/doc&amp;#039;, &amp;#039;h&amp;#039;, &amp;#039;m&amp;#039;})})&lt;br /&gt;
	end&lt;br /&gt;
	table.insert(out, {n._navbar{mini = &amp;#039;yes&amp;#039;, &amp;#039;v/doc&amp;#039;},ns._navbar{mini = &amp;#039;yes&amp;#039;, &amp;#039;v/doc&amp;#039;}})&lt;br /&gt;
	return table.concat(out[1])..table.concat(out[2])..table.concat(out[3])&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;WOSlinker</name></author>
	</entry>
</feed>