diff options
author | vlakoff <vlakoff@gmail.com> | 2013-07-19 20:13:51 +0200 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2013-07-19 20:13:51 +0200 |
commit | 69088d8796457d083c3920361732ae5a7fe50902 (patch) | |
tree | f993a632141524c59b18d7b04ef9a0bf5ce0c1f0 | |
parent | 7761fa687a2380716849d49b6520dd2a1f952c40 (diff) |
Simplify directory_map test skip
-rw-r--r-- | tests/codeigniter/helpers/directory_helper_test.php | 2 |
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; |