summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core/Utf8_test.php
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2017-12-08 20:25:02 +0100
committerGabriel Caruso <carusogabriel34@gmail.com>2017-12-20 17:43:45 +0100
commitdfa52f3ed31696c58fdc85273f4408559233b19e (patch)
tree63ca4ac93f9fd6f3afe5a91ef25701391ec9e593 /tests/codeigniter/core/Utf8_test.php
parent3ecfcaa94bbae55fec8c2c9bbf8524c49816342f (diff)
Refactoring tests
Diffstat (limited to 'tests/codeigniter/core/Utf8_test.php')
-rw-r--r--tests/codeigniter/core/Utf8_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/core/Utf8_test.php b/tests/codeigniter/core/Utf8_test.php
index f40bb9848..8ae51b8af 100644
--- a/tests/codeigniter/core/Utf8_test.php
+++ b/tests/codeigniter/core/Utf8_test.php
@@ -59,7 +59,7 @@ class Utf8_test extends CI_TestCase {
elseif (ICONV_ENABLED)
{
// This is a known issue, iconv doesn't always work with //IGNORE
- $this->assertTrue(in_array($utf8->clean_string($illegal_utf8), array('тест', ''), TRUE));
+ $this->assertContains($utf8->clean_string($illegal_utf8), array('тест', ''));
}
else
{