summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-10-13 01:03:02 -0700
committerAndreas Gohr <andi@splitbrain.org>2013-10-13 01:03:02 -0700
commit6d18d1a863fdcaea8ed2e8009fcc2a2c52a1fbba (patch)
tree0c31ed57dd4733dee4dd95bbcd39197daa12d433
parent34b78ec618303a5dcfec12acc6f54ab1a6f5886f (diff)
parent8ef75711c492f1188d121995778e82cd5aa95e1b (diff)
downloadrpg-6d18d1a863fdcaea8ed2e8009fcc2a2c52a1fbba.tar.gz
rpg-6d18d1a863fdcaea8ed2e8009fcc2a2c52a1fbba.tar.bz2
Merge pull request #341 from splitbrain/extend_tests_cleanid
Extend pageutils_clean_id tests to show more behavior details
-rw-r--r--_test/tests/inc/pageutils_clean_id.test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/_test/tests/inc/pageutils_clean_id.test.php b/_test/tests/inc/pageutils_clean_id.test.php
index 478fd2bc4..f67109ba3 100644
--- a/_test/tests/inc/pageutils_clean_id.test.php
+++ b/_test/tests/inc/pageutils_clean_id.test.php
@@ -43,6 +43,9 @@ class init_clean_id_test extends DokuWikiTest {
$tests[] = array('ns._#!ns:page','false','ns._ns:page');
$tests[] = array('ns_:page',false,'ns:page');
$tests[] = array('page...page','false','page...page');
+ $tests[] = array('page---page','false','page---page');
+ $tests[] = array('page___page','false','page_page');
+ $tests[] = array('page_-.page','false','page_-.page');
$tests[] = array(':page',false,'page');
$tests[] = array(':ns:page',false,'ns:page');
$tests[] = array('page:',false,'page');