Difference between revisions of "Template:Diff2/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(testcases)
 
imported>Amalthea
(pre- and postfix, to show a whitespace issue.)
Line 2: Line 2:
 
! sandbox !! expected
 
! sandbox !! expected
 
|-
 
|-
|{{diff2/sandbox|123}} || <span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff=prev&oldid=123]</span>
+
|a{{diff2/sandbox|123}}b || a<span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff=prev&oldid=123]</span>b
 
|-
 
|-
|{{diff2/sandbox|123|Foo}} || <span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff=prev&oldid=123 Foo]</span>
+
|a{{diff2/sandbox|123|Foo}}b || a<span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff=prev&oldid=123 Foo]</span>b
 
|-
 
|-
|{{diff2/sandbox|123|Foo|Bar}} || <span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff=prev&oldid=123#Foo Bar]</span>
+
|a{{diff2/sandbox|123|Foo|Bar}}b || a<span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff=prev&oldid=123#Foo Bar]</span>b
 
|-
 
|-
|{{diff2/sandbox|123|Foo|}} || <span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff=prev&oldid=123#Foo]</span>
+
|a{{diff2/sandbox|123|Foo|}}b || a<span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff=prev&oldid=123#Foo]</span>b
 
|}
 
|}

Revision as of 10:14, 18 February 2010

sandbox expected
a[1]b a[2]b
aFoob aFoob
aBarb aBarb
a[3]b a[4]b