Skip to content

Commit

Permalink
Fixed typo in test_encoded_substr
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseoverright committed Sep 7, 2014
1 parent 71bf7a7 commit 3a3adb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test-cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 3a3adb4

Please sign in to comment.