Skip to content

Commit

Permalink
Merge pull request #3155 from splitbrain/issue3114test
Browse files Browse the repository at this point in the history
Add unit tests for noNS ending with colon
  • Loading branch information
splitbrain committed Jun 8, 2020
2 parents 627b135 + a65be91 commit dd5a028
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _test/tests/inc/pageutils_nons.test.php
Expand Up @@ -43,6 +43,8 @@ public function noNSorNSProvider()
['0:foo', 'foo'],
['foo:0', '0'],
['0', '0'],
['0:', '0'],
['a:b:', 'b'], // breadcrumbs code passes IDs ending with a colon #3114
];
}

Expand Down

0 comments on commit dd5a028

Please sign in to comment.