<?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%3ASandbox%2FIzno%2Ftestcases</id>
	<title>Module:Sandbox/Izno/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%3ASandbox%2FIzno%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Izno/testcases&amp;action=history"/>
	<updated>2026-05-27T04:54:39Z</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:Sandbox/Izno/testcases&amp;diff=145570&amp;oldid=prev</id>
		<title>imported&gt;Izno: with some upper</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Izno/testcases&amp;diff=145570&amp;oldid=prev"/>
		<updated>2022-05-18T02:21:27Z</updated>

		<summary type="html">&lt;p&gt;with some upper&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local myModule = require(&amp;#039;Module:Sandbox/Izno&amp;#039;) -- the module to be tested&lt;br /&gt;
local ScribuntoUnit = require(&amp;#039;Module:ScribuntoUnit&amp;#039;)&lt;br /&gt;
local suite = ScribuntoUnit:new()&lt;br /&gt;
&lt;br /&gt;
function suite:test_empty_string_is_empty()&lt;br /&gt;
	self:assertEquals(&amp;#039;&amp;#039;, myModule.remove_disallowed_css(&amp;#039;&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
function suite:test_background_is_empty()&lt;br /&gt;
	self:assertEquals(&amp;#039;&amp;#039;, myModule.remove_disallowed_css(&amp;#039;background: #000;&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
function suite:test_background_color_is_empty()&lt;br /&gt;
	self:assertEquals(&amp;#039;&amp;#039;, myModule.remove_disallowed_css(&amp;#039;background-color: #000;&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
function suite:test_color_with_space_is_color()&lt;br /&gt;
    self:assertEquals(&amp;#039;color: #000&amp;#039;, myModule.remove_disallowed_css(&amp;#039;color: #000&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
function suite:test_color_without_space_is_color()&lt;br /&gt;
    self:assertEquals(&amp;#039;color:#000&amp;#039;, myModule.remove_disallowed_css(&amp;#039;color:#000&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
function suite:test_background_and_color_is_color()&lt;br /&gt;
    self:assertEquals(&amp;#039;color: #000;&amp;#039;, myModule.remove_disallowed_css(&amp;#039;background-color: #000; color: #000;&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
function suite:test_color_and_border_is_color()&lt;br /&gt;
    self:assertEquals(&amp;#039;color: #000;&amp;#039;, myModule.remove_disallowed_css(&amp;#039;color: #000; border-color: #000;&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
function suite:test_color_and_border_and_color2_is_color_and_color2()&lt;br /&gt;
    self:assertEquals(&amp;#039;color: #111;color: #000;&amp;#039;, myModule.remove_disallowed_css(&amp;#039;color: #111; border-color: #000; color: #000;&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
function suite:test_colors3_with_1_border()&lt;br /&gt;
    self:assertEquals(&amp;#039;color: #111;color: #000;color: #222;&amp;#039;, myModule.remove_disallowed_css(&amp;#039;color: #111; border-color: #000; color: #000; color: #222;&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
function suite:test_colors3_with_1_border_upper()&lt;br /&gt;
    self:assertEquals(&amp;#039;colOr: #111;color: #000;coloR: #222;&amp;#039;, myModule.remove_disallowed_css(&amp;#039;colOr: #111; Border-color: #000; color: #000; coloR: #222;&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
function suite:test_box_shadow()&lt;br /&gt;
	self:assertEquals(&amp;#039;&amp;#039;, myModule.remove_disallowed_css(&amp;#039;box-shadow: inset 1px 1px 0 #000, inset -1px -1px 0 #000; &amp;#039;))	&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return suite&lt;/div&gt;</summary>
		<author><name>imported&gt;Izno</name></author>
	</entry>
</feed>