summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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');
}
// --------------------------------------------------------------------