summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoffrey Jaffeux <j.jaffeux@gmail.com>2012-06-06 15:39:45 +0200
committerJoffrey Jaffeux <j.jaffeux@gmail.com>2012-06-06 15:39:45 +0200
commitbfaf50258b6f33961210ecc3df4ade2e0a4512b4 (patch)
treed56317ea15c4925e83a23b0048f3ec28bbb37478
parent4221b980b66bbaebc23a0f9cc5dee7d649948e15 (diff)
typo word_wraped -> word_wrapped
-rw-r--r--tests/codeigniter/helpers/text_helper_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/codeigniter/helpers/text_helper_test.php b/tests/codeigniter/helpers/text_helper_test.php
index d59b2743d..3bc83f050 100644
--- a/tests/codeigniter/helpers/text_helper_test.php
+++ b/tests/codeigniter/helpers/text_helper_test.php
@@ -159,8 +159,8 @@ class Text_helper_test extends CI_TestCase {
public function test_word_wrap()
{
$string = "Here is a simple string of text that will help us demonstrate this function.";
- $word_wraped = word_wrap($string, 25);
- $this->assertEquals(substr_count($word_wraped, "\n"), 4);
+ $word_wrapped = word_wrap($string, 25);
+ $this->assertEquals(substr_count($word_wrapped, "\n"), 4);
}
// ------------------------------------------------------------------------
@@ -168,8 +168,8 @@ class Text_helper_test extends CI_TestCase {
public function test_default_word_wrap_charlim()
{
$string = "Here is a simple string of text that will help us demonstrate this function.";
- $word_wraped = word_wrap($string);
- $matches = preg_split("/\n/", $word_wraped, 1);
+ $word_wrapped = word_wrap($string);
+ $matches = preg_split("/\n/", $word_wrapped, 1);
$this->assertEquals(strlen($matches[0]) - 1, 76);
}