File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,11 @@ 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 ( 'この文章はダミーです 。文字の大きさ、量、字間、行間等を確認するために入れています。この文章はダミーです。文字の大きさ、量、字間、行間等を確認するために入れています。この文章はダミーです。文字の大きさ、 ' , 'こんにちは ' ) );
49+ $ table ->addRow ( array ( '1この文章はダミーです 。文字の大きさ、量、字間、行間等を確認するために入れています。この文章はダミーです。文字の大きさ、量、字間、行間等を確認するために入れています。 ' , 'こんにちは ' ) );
5050 $ table ->addRow ( array ( 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. ' , 'Hello ' ) );
5151
5252 $ out = $ table ->getDisplayLines ();
53+ print_r ($ out );
5354 for ( $ i = 0 ; $ i < count ( $ out ); $ i ++ ) {
5455 $ this ->assertEquals ( $ constraint_width , \cli \strwidth ( $ out [$ i ] ) + 1 );
5556 }
You can’t perform that action at this time.
0 commit comments