summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-09-14 10:40:43 +0200
committerAndrey Andreev <narf@bofh.bg>2012-09-14 10:40:43 +0200
commitcd0b93be53c9c4e8d4c993a3ee230f8b0fa84c65 (patch)
treeacf12caef85efb9ca6152702d80b294a0d254a79 /tests
parenta82e6a6675dc0763f10541641c87caf416aa8add (diff)
parent8280885499ca4b1cffacc9ad78a9eff07a84de25 (diff)
Merge pull request #1794 from vlakoff/develop-2
directory_map() was skipping files and directories named "0"
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/helpers/directory_helper_test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/codeigniter/helpers/directory_helper_test.php b/tests/codeigniter/helpers/directory_helper_test.php
index 176ff1d78..c39ccd8d0 100644
--- a/tests/codeigniter/helpers/directory_helper_test.php
+++ b/tests/codeigniter/helpers/directory_helper_test.php
@@ -19,6 +19,7 @@ class Directory_helper_test extends CI_TestCase {
'benchmark.html' => '',
'database' => array('active_record.html' => '', 'binds.html' => ''),
'email.html' => '',
+ '0' => '',
'.hiddenfile.txt' => ''
)
);
@@ -30,7 +31,8 @@ class Directory_helper_test extends CI_TestCase {
'libraries' => array(
'benchmark.html',
'database' => array('active_record.html', 'binds.html'),
- 'email.html'
+ 'email.html',
+ '0'
)
);