summaryrefslogtreecommitdiffstats
path: root/tests/mocks
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-16 17:39:52 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-16 17:39:52 +0100
commit291676be2ca85581b48dfdc40889085f1928fabf (patch)
treeb488d1e888e146bc81344ad5c8cf472403dc6b48 /tests/mocks
parent279459e42b3a7244ab5f6db8950ed47bf80590ad (diff)
Add a unit test for CI_Utf8::_is_ascii()
Diffstat (limited to 'tests/mocks')
-rw-r--r--tests/mocks/core/utf8.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/mocks/core/utf8.php b/tests/mocks/core/utf8.php
index 068e74ac1..a43138fbc 100644
--- a/tests/mocks/core/utf8.php
+++ b/tests/mocks/core/utf8.php
@@ -23,4 +23,9 @@ class Mock_Core_Utf8 extends CI_Utf8 {
}
}
+ public function is_ascii_test($str)
+ {
+ return $this->_is_ascii($str);
+ }
+
} \ No newline at end of file