<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ADiff%2Ftestcases</id>
	<title>Module:Diff/testcases - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ADiff%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Module:Diff/testcases&amp;action=history"/>
	<updated>2026-11-01T06:20:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Module:Diff/testcases&amp;diff=120021&amp;oldid=prev</id>
		<title>Wikipedia&gt;Varmkorv Tva at 16:34, 2 February 2026</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Module:Diff/testcases&amp;diff=120021&amp;oldid=prev"/>
		<updated>2026-02-02T16:34:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Unit tests for [[Module:Diff]]. Click talk page to run tests.&lt;br /&gt;
local p = require(&amp;#039;Module:UnitTests&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
function p:test_no_change()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:Diff|main|no change|no change}}&amp;#039;, &amp;#039;&amp;lt;table class=&amp;quot;diff&amp;quot; style=&amp;quot;width:100%&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;diff-marker&amp;quot; style=&amp;quot;width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;&amp;quot;&amp;gt;−&amp;lt;/td&amp;gt;&amp;lt;td class=&amp;quot;diff-deletedline&amp;quot; style=&amp;quot;border-color: var(--background-color-content-removed,#ffe49c); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;word-wrap: break-word; direction: ltr;&amp;quot;&amp;gt;no change&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td style=&amp;quot;width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;&amp;quot;&amp;gt;+&amp;lt;/td&amp;gt;&amp;lt;td class=&amp;quot;diff-addedline&amp;quot; style=&amp;quot;border-color: var(--background-color-content-added,#a3d3ff); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;word-wrap: break-word; direction: ltr;&amp;quot;&amp;gt;no change&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_one_change()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:Diff|main|one change|a change}}&amp;#039;, &amp;#039;&amp;lt;table class=&amp;quot;diff&amp;quot; style=&amp;quot;width:100%&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;diff-marker&amp;quot; style=&amp;quot;width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;&amp;quot;&amp;gt;−&amp;lt;/td&amp;gt;&amp;lt;td class=&amp;quot;diff-deletedline&amp;quot; style=&amp;quot;border-color: var(--background-color-content-removed,#ffe49c); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;word-wrap: break-word; direction: ltr;&amp;quot;&amp;gt;&amp;lt;del class=&amp;quot;diffchange diffchange-inline&amp;quot; style=&amp;quot;background: var(--background-color-content-removed,#ffe49c); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;&amp;quot;&amp;gt;one&amp;lt;/del&amp;gt;&amp;amp;#32;change&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td style=&amp;quot;width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;&amp;quot;&amp;gt;+&amp;lt;/td&amp;gt;&amp;lt;td class=&amp;quot;diff-addedline&amp;quot; style=&amp;quot;border-color: var(--background-color-content-added,#a3d3ff); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;word-wrap: break-word; direction: ltr;&amp;quot;&amp;gt;&amp;lt;ins class=&amp;quot;diffchange diffchange-inline&amp;quot; style=&amp;quot;background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;&amp;quot;&amp;gt;a&amp;lt;/ins&amp;gt;&amp;amp;#32;change&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Varmkorv Tva</name></author>
	</entry>
</feed>