summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-07-29 10:45:53 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-07-29 10:46:22 +0200
commit420addb2e4aefb77d089e776672d40c18f86b2ac (patch)
treee2f09417e61fe2a82d6f523a514236730f462ecd /_test
parent00c2d4a9d8fcb38b6a2294749b395d528952fde5 (diff)
downloadrpg-420addb2e4aefb77d089e776672d40c18f86b2ac.tar.gz
rpg-420addb2e4aefb77d089e776672d40c18f86b2ac.tar.bz2
fix utf8_basename for file names without any directory
Diffstat (limited to '_test')
-rw-r--r--_test/tests/inc/utf8_basename.test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/_test/tests/inc/utf8_basename.test.php b/_test/tests/inc/utf8_basename.test.php
index 1cb5b5606..62d006088 100644
--- a/_test/tests/inc/utf8_basename.test.php
+++ b/_test/tests/inc/utf8_basename.test.php
@@ -59,6 +59,9 @@ class utf8_basename_test extends DokuWikiTest {
array('\\this\\foo\\ДокуВики.test.Вик', '.Вик', 'ДокуВики.test'),
array('/this\\foo/ДокуВики.test.Вик', '.Вик', 'ДокуВики.test'),
array('/this/foo\\ДокуВики.test.Вик', '.Вик', 'ДокуВики.test'),
+
+ array('bar.test.png', '', 'bar.test.png'),
+ array('bar.test.png', '.png', 'bar.test'),
);
foreach($data as $test){