diff options
author | Andrey Andreev <narf@devilix.net> | 2014-01-16 17:39:52 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-01-16 17:39:52 +0100 |
commit | 291676be2ca85581b48dfdc40889085f1928fabf (patch) | |
tree | b488d1e888e146bc81344ad5c8cf472403dc6b48 /tests/mocks | |
parent | 279459e42b3a7244ab5f6db8950ed47bf80590ad (diff) |
Add a unit test for CI_Utf8::_is_ascii()
Diffstat (limited to 'tests/mocks')
-rw-r--r-- | tests/mocks/core/utf8.php | 5 |
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 |