From 3a3adb48a24952ab832983418d789cfcc66e0803 Mon Sep 17 00:00:00 2001 From: Jesse Overright Date: Sun, 7 Sep 2014 16:43:33 -0500 Subject: [PATCH] Fixed typo in test_encoded_substr --- tests/test-cli.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-cli.php b/tests/test-cli.php index eb7e338..06540f3 100644 --- a/tests/test-cli.php +++ b/tests/test-cli.php @@ -26,9 +26,9 @@ function test_encoded_string_length() { function test_encoded_substr() { - $this->assertEquals( \cli\safe_substr( \cli\Colors::pad( 'hello', 0, 2 ) ), 'he' ); - $this->assertEquals( \cli\safe_substr( \cli\Colors::pad( 'óra' , 0, 2 ) ), 'ór' ); - + $this->assertEquals( \cli\safe_substr( \cli\Colors::pad( 'hello', 6), 0, 2 ), 'he' ); + $this->assertEquals( \cli\safe_substr( \cli\Colors::pad( 'óra', 6), 0, 2 ), 'ór' ); + } function test_colorized_string_length() {