Skip to content

Commit e53d0a1

Browse files
committed
another one
1 parent 34178c6 commit e53d0a1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/Test_Table.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ public function test_column_odd_single_width_with_double_width() {
102102
} else {
103103
$this->assertSame( '1あいうえ ', $result[0] ); // 1 single-width, 4 double-width, space = 10.
104104
}
105-
$this->assertSame( 'おか2きくカ', $result[1] ); // 2 double-width, 1 single-width, 2 double-width, 1 half-width = 10.
105+
if ( Shell::is_windows() ) {
106+
$this->assertSame( 'おか2きくカ ', $result[1] );
107+
} else {
108+
$this->assertSame( 'おか2きくカ', $result[1] ); // 2 double-width, 1 single-width, 2 double-width, 1 half-width = 10.
109+
}
106110
$this->assertSame( 'けこ ', $result[2] ); // 2 double-width, 8 spaces = 10.
107111

108112
// Minimum width 1.

0 commit comments

Comments
 (0)