diff options
author | vlakoff <vlakoff@gmail.com> | 2013-07-25 12:18:43 +0200 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2013-07-25 12:18:43 +0200 |
commit | c1044cb62e39709aa14f86a56bc950a78cfc713c (patch) | |
tree | 032dea4d5dac9184bd2278fec9d9d4f8906810a3 /tests | |
parent | 90f316a8615fbbbc0810d945dd1a237662c6bfbf (diff) |
Uniformize slash_item() with item()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/codeigniter/core/Config_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/core/Config_test.php b/tests/codeigniter/core/Config_test.php index 72f47cd51..ba9a2c070 100644 --- a/tests/codeigniter/core/Config_test.php +++ b/tests/codeigniter/core/Config_test.php @@ -46,7 +46,7 @@ class Config_test extends CI_TestCase { public function test_slash_item() { // Bad Config value - $this->assertFalse($this->config->slash_item('no_good_item')); + $this->assertNull($this->config->slash_item('no_good_item')); $this->assertEquals($this->cfg['base_url'], $this->config->slash_item('base_url')); $this->assertEquals($this->cfg['subclass_prefix'].'/', $this->config->slash_item('subclass_prefix')); |