summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/helpers/directory_helper_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/helpers/directory_helper_test.php b/tests/codeigniter/helpers/directory_helper_test.php
index 66e66d269..de72dee78 100644
--- a/tests/codeigniter/helpers/directory_helper_test.php
+++ b/tests/codeigniter/helpers/directory_helper_test.php
@@ -29,7 +29,7 @@ class Directory_helper_test extends CI_TestCase {
vfsStream::create($structure, $this->_test_dir);
// is_dir(), opendir(), etc. seem to fail on Windows + vfsStream when there are trailing backslashes in directory names
- if (DIRECTORY_SEPARATOR === '\\' && ! is_dir(vfsStream::url('testDir').'\\'))
+ if ( ! is_dir(vfsStream::url('testDir').DIRECTORY_SEPARATOR))
{
$this->markTestSkipped();
return;