summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/helpers/path_helper_test.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-09 21:24:46 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-09 21:24:46 +0200
commit99b782d8a3d92c4703a059cbd62e2f1e6fea689c (patch)
tree622bd77c72eb812e37d4b3816b93528679d71425 /tests/codeigniter/helpers/path_helper_test.php
parent1b60fda70ff1e1801c133575c530ef0a5a450029 (diff)
Cleanup and optimize helper tests for speed
Diffstat (limited to 'tests/codeigniter/helpers/path_helper_test.php')
-rw-r--r--tests/codeigniter/helpers/path_helper_test.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/codeigniter/helpers/path_helper_test.php b/tests/codeigniter/helpers/path_helper_test.php
index 632f57501..0faf6f383 100644
--- a/tests/codeigniter/helpers/path_helper_test.php
+++ b/tests/codeigniter/helpers/path_helper_test.php
@@ -8,9 +8,8 @@ class Path_helper_test extends CI_TestCase {
}
public function test_set_realpath()
- {
- $expected = getcwd() . DIRECTORY_SEPARATOR;
- $this->assertEquals($expected, set_realpath(getcwd()));
+ {
+ $this->assertEquals(getcwd().DIRECTORY_SEPARATOR, set_realpath(getcwd()));
}
public function test_set_realpath_nonexistent_directory()