Difference between revisions of "Template:Diff2/testcases"
Jump to navigation
Jump to search
imported>Waldyrious (readability) |
imported>Amalthea (testcases are a bit misleading with automatic link numbering, but please note that 2 and 4 currently produce different results!) |
||
| Line 1: | Line 1: | ||
| − | { | + | {{testcase |
| − | + | |id=1. revid | |
| − | | | + | |<nowiki>X{{diff2 |123}}X</nowiki> |
| − | | | + | | X{{diff2 |123}}X |
| − | | | + | | X{{diff2/sandbox|123}}X |
| − | | | + | }} |
| − | | | + | |
| − | + | {{testcase | |
| − | | | + | |id=2. revid & title |
| − | | | + | |<nowiki>X{{diff2 |123|Foo}}X</nowiki> |
| − | + | | X{{diff2 |123|Foo}}X | |
| − | | | + | | X{{diff2/sandbox|123|Foo}}X |
| − | | | + | }} |
| − | | | + | |
| − | + | {{testcase | |
| + | |id=3. revid & anchor & title | ||
| + | |<nowiki>X{{diff2 |123|Foo|Bar}}X</nowiki> | ||
| + | | X{{diff2 |123|Foo|Bar}}X | ||
| + | | X{{diff2/sandbox|123|Foo|Bar}}X | ||
| + | }} | ||
| + | |||
| + | {{testcase | ||
| + | |id=4. revid & anchor & empty title | ||
| + | |<nowiki>X{{diff2 |123|Foo|}}X</nowiki> | ||
| + | | X{{diff2 |123|Foo|}}X | ||
| + | | X{{diff2/sandbox|123|Foo|}}X | ||
| + | }} | ||
| + | |||
| + | {{testcase | ||
| + | |id=5. revid & empty anchor & title | ||
| + | |<nowiki>X{{diff2 |123||Bar}}X</nowiki> | ||
| + | | X{{diff2 |123||Bar}}X | ||
| + | | X{{diff2/sandbox|123||Bar}}X | ||
| + | }} | ||