summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHeesung Ahn <ahn.heesung@gmail.com>2015-03-30 16:11:32 +0200
committerHeesung Ahn <ahn.heesung@gmail.com>2015-03-30 16:11:32 +0200
commitd1f39fdef53fc510a6a5d19ec2991e5bc474bc29 (patch)
treef1141a80d2fe5cb9a5ca330721e9ec0f685012e9 /tests
parent23fe2056a151bf7360b9852bda94216b7169bedf (diff)
updated array style and removed assert true
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/core/Lang_test.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/codeigniter/core/Lang_test.php b/tests/codeigniter/core/Lang_test.php
index a4db7a9c2..3fccf096d 100644
--- a/tests/codeigniter/core/Lang_test.php
+++ b/tests/codeigniter/core/Lang_test.php
@@ -53,12 +53,15 @@ class Lang_test extends CI_TestCase {
{
// Multiple files
$this->ci_vfs_clone('system/language/english/profiler_lang.php');
- $files = Array('profiler', 'nonexistent');
+ $files = Array(
+ 0 => 'profiler',
+ 1 => 'nonexistent'
+ );
$this->setExpectedException(
'RuntimeException',
'CI Error: Unable to load the requested language file: language/english/nonexistent_lang.php'
);
- $this->assertTrue($this->lang->load($files, 'english'));
+ $this->lang->load($files, 'english');
}
// --------------------------------------------------------------------