summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-15 20:44:02 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-15 20:44:02 +0100
commitcd74d36ae1ac34c25271b5ff81cc2fd8df099724 (patch)
tree75765a7dbf41fb80ab71a20b611cfd1c93cb8fbb /tests/codeigniter
parent81f036753272391360ba5b64e6dd93c4101a8733 (diff)
Rename CI_Utf8::_is_ascii() to is_ascii() and make it public
No reason for it to be protected.
Diffstat (limited to 'tests/codeigniter')
-rw-r--r--tests/codeigniter/core/Utf8_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codeigniter/core/Utf8_test.php b/tests/codeigniter/core/Utf8_test.php
index 71299134e..2cf404841 100644
--- a/tests/codeigniter/core/Utf8_test.php
+++ b/tests/codeigniter/core/Utf8_test.php
@@ -18,8 +18,8 @@ class Utf8_test extends CI_TestCase {
public function test_is_ascii()
{
- $this->assertTrue($this->utf8->is_ascii_test('foo bar'));
- $this->assertFalse($this->utf8->is_ascii_test('тест'));
+ $this->assertTrue($this->utf8->is_ascii('foo bar'));
+ $this->assertFalse($this->utf8->is_ascii('тест'));
}
} \ No newline at end of file