Skip to content

Commit 18b8e3d

Browse files
committed
add single-width char to second line
1 parent 0685ba2 commit 18b8e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function test_column_value_too_long_with_multibytes() {
4646
$renderer->setConstraintWidth( $constraint_width );
4747
$table->setRenderer( $renderer );
4848
$table->setHeaders( array( 'Field', 'Value' ) );
49-
$table->addRow( array( '1この文章はダミーです。文字の大きさ、量、字間、行間等を確認するために入れています。この文章はダミーです。文字の大きさ、量、字間、行間等を確認するために入れています。', 'こんにちは' ) );
49+
$table->addRow( array( '1この文章はダミーです。文字の大きさ、量、字間、行間等を確認するために入れています。2この文章はダミーです。文字の大きさ、量、字間、行間等を確認するために入れています。', 'こんにちは' ) );
5050
$table->addRow( array( 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.', 'Hello' ) );
5151

5252
$out = $table->getDisplayLines();

0 commit comments

Comments
 (0)