<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://idugov.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AString2%2Ftestcases</id>
	<title>Module:String2/testcases - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://idugov.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AString2%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://idugov.com/w/index.php?title=Module:String2/testcases&amp;action=history"/>
	<updated>2026-11-18T17:08:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://idugov.com/w/index.php?title=Module:String2/testcases&amp;diff=31352&amp;oldid=prev</id>
		<title>Sanctaria: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://idugov.com/w/index.php?title=Module:String2/testcases&amp;diff=31352&amp;oldid=prev"/>
		<updated>2023-03-11T23:04:17Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:04, 11 March 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key idugovco_theixlpp_mw19678-mws9_:diff:1.41:old-31351:rev-31352 --&gt;
&lt;/table&gt;</summary>
		<author><name>Sanctaria</name></author>
	</entry>
	<entry>
		<id>https://idugov.com/w/index.php?title=Module:String2/testcases&amp;diff=31351&amp;oldid=prev</id>
		<title>en&gt;GKFX: Add tests for sentence() including a strip tag which currently fails due to the unit test module.</title>
		<link rel="alternate" type="text/html" href="https://idugov.com/w/index.php?title=Module:String2/testcases&amp;diff=31351&amp;oldid=prev"/>
		<updated>2022-05-14T21:01:02Z</updated>

		<summary type="html">&lt;p&gt;Add tests for sentence() including a strip tag which currently fails due to the unit test module.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. 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_sentence()&lt;br /&gt;
	self:preprocess_equals_sandbox_many(&amp;#039;{{#invoke:String2&amp;#039;, &amp;#039;sentence&amp;#039;, {&lt;br /&gt;
        {&amp;#039;*teSt&amp;#039;, &amp;#039;\n*Test&amp;#039;},&lt;br /&gt;
        {&amp;#039;[[tEst]]&amp;#039;, &amp;#039;[[Test]]&amp;#039;},&lt;br /&gt;
        {&amp;#039;[[test|pipeTest]]&amp;#039;, &amp;#039;[[test|Pipetest]]&amp;#039;},&lt;br /&gt;
        {&amp;#039;32ND&amp;#039;, &amp;#039;32nd&amp;#039;},&lt;br /&gt;
        {&amp;#039;3 &amp;amp;times;&amp;#039;, &amp;#039;3 &amp;amp;times;&amp;#039;},&lt;br /&gt;
        {&amp;#039;&amp;lt;li&amp;gt;TEST&amp;lt;/li&amp;gt;&amp;#039;, &amp;#039;&amp;lt;li&amp;gt;Test&amp;lt;/li&amp;gt;&amp;#039;},&lt;br /&gt;
        {&amp;#039;1900 &amp;amp;ndash; 2000&amp;#039;, &amp;#039;1900 &amp;amp;ndash; 2000&amp;#039;},&lt;br /&gt;
        {&amp;#039;éclair&amp;#039;, &amp;#039;Éclair&amp;#039;},&lt;br /&gt;
        {&amp;#039;Äpfel&amp;#039;, &amp;#039;Äpfel&amp;#039;},&lt;br /&gt;
        -- this requires options.stripmarker to be implemented for preprocess_equals_sandbox_many&lt;br /&gt;
        {&amp;#039;teXT &amp;lt;nowiki&amp;gt;TeXT&amp;lt;/nowiki&amp;gt;&amp;#039;, &amp;#039;Text &amp;lt;nowiki&amp;gt;TeXT&amp;lt;/nowiki&amp;gt;&amp;#039;},&lt;br /&gt;
	})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_ucfirst()&lt;br /&gt;
	self:preprocess_equals_sandbox_many(&amp;#039;{{#invoke:String2&amp;#039;, &amp;#039;ucfirst&amp;#039;, {&lt;br /&gt;
        {&amp;#039;*test&amp;#039;, &amp;#039;\n*Test&amp;#039;},&lt;br /&gt;
        {&amp;#039;[[test]]&amp;#039;, &amp;#039;[[Test]]&amp;#039;},&lt;br /&gt;
        {&amp;#039;[[test|pipetest]]&amp;#039;, &amp;#039;[[test|Pipetest]]&amp;#039;},&lt;br /&gt;
        {&amp;#039;32nd&amp;#039;, &amp;#039;32nd&amp;#039;},&lt;br /&gt;
        {&amp;#039;3 &amp;amp;times;&amp;#039;, &amp;#039;3 &amp;amp;times;&amp;#039;},&lt;br /&gt;
        {&amp;#039;&amp;lt;li&amp;gt;test&amp;lt;/li&amp;gt;&amp;#039;, &amp;#039;&amp;lt;li&amp;gt;Test&amp;lt;/li&amp;gt;&amp;#039;},&lt;br /&gt;
        {&amp;#039;1900 &amp;amp;ndash; 2000&amp;#039;, &amp;#039;1900 &amp;amp;ndash; 2000&amp;#039;},&lt;br /&gt;
        {&amp;#039;éclair&amp;#039;, &amp;#039;Éclair&amp;#039;},&lt;br /&gt;
        {&amp;#039;Äpfel&amp;#039;, &amp;#039;Äpfel&amp;#039;},&lt;br /&gt;
    })&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_matchAny()&lt;br /&gt;
    self:preprocess_equals_sandbox_many(&amp;#039;{{#invoke:String2&amp;#039;,&amp;#039;matchAny&amp;#039;, {&lt;br /&gt;
    	{&amp;#039;123|abc|source=adc 123&amp;#039;, &amp;#039;1&amp;#039;},&lt;br /&gt;
    	{&amp;#039;123|abc|source=adc 124&amp;#039;, &amp;#039;&amp;#039;},&lt;br /&gt;
    	{&amp;#039;123|abc|source=abc 124&amp;#039;, &amp;#039;2&amp;#039;},&lt;br /&gt;
     },{nowiki=1})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ function p:test_sentence()&lt;br /&gt;
	self:preprocess_equals_preprocess(&amp;#039;{{#invoke:String2|sentence|ThE RaIN In Spain falls &amp;lt;nowiki&amp;gt;mainly&amp;lt;/nowiki&amp;gt; on THE PLANE.}}&amp;#039;,&lt;br /&gt;
		&amp;#039;The rain in spain falls &amp;lt;nowiki&amp;gt;mainly&amp;lt;/nowiki&amp;gt; on the plane.&amp;#039;,&lt;br /&gt;
		{ stripmarker = true })&lt;br /&gt;
	self:preprocess_equals_preprocess(&amp;#039;{{#invoke:String2|sentence|ThE RaIN In Spain &amp;lt;ref&amp;gt;falls&amp;lt;/ref&amp;gt; mainly on THE PLANE.}}&amp;#039;,&lt;br /&gt;
		&amp;#039;The rain in spain &amp;lt;ref&amp;gt;falls&amp;lt;/ref&amp;gt; mainly on the plane.&amp;#039;, { stripmarker = true })&lt;br /&gt;
end ]]--&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>en&gt;GKFX</name></author>
	</entry>
</feed>