Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0ab493d

Browse files
committed
-
1 parent86dc85b commit0ab493d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

‎src/Symfony/Component/Console/Tests/Helper/TableTest.php‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,15 +1017,16 @@ public function testColumnStyle()
10171017

10181018
publicfunctiontestThrowsWhenTheCellInAnArray()
10191019
{
1020-
$table =newTable($this->getOutputStream());
1021-
$table->setHeaders(['ISBN','Title','Author','Price']);
1022-
10231020
$this->expectException(InvalidArgumentException::class);
10241021
$this->expectExceptionMessage('A cell must be a TableCell, a scalar or an object implementing "__toString()", "array" given.');
1022+
$table =newTable($output =$this->getOutputStream());
1023+
$table
1024+
->setHeaders(['ISBN','Title','Author','Price'])
1025+
->setRows([
1026+
['99921-58-10-7', [],'Dante Alighieri','9.95'],
1027+
]);
10251028

1026-
$table->setRows([
1027-
['99921-58-10-7', [],'Dante Alighieri','9.95'],
1028-
]);
1029+
$table->render();
10291030
}
10301031

10311032
publicfunctiontestColumnWidth()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp