We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2381d2b commit 1d22a24Copy full SHA for 1d22a24
tests/test-cli.php
@@ -18,7 +18,7 @@ function test_encoded_string_length() {
18
19
$this->assertEquals( \cli\Colors::length( 'hello' ), 5 );
20
$this->assertEquals( \cli\Colors::length( 'óra' ), 3 );
21
- $this->assertEquals( \cli\Colors::length( '日本語' ), 3 );
+ $this->assertEquals( \cli\Colors::length( '日本語' ), 6 ); // 3 double-width chars.
22
23
}
24
0 commit comments