updated array style and removed assert true
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
diff --git a/tests/codeigniter/core/Lang_test.php b/tests/codeigniter/core/Lang_test.php
index a4db7a9..3fccf09 100644
--- a/tests/codeigniter/core/Lang_test.php
+++ b/tests/codeigniter/core/Lang_test.php
@@ -53,12 +53,15 @@
{
// 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');
}
// --------------------------------------------------------------------