Skip to content

Commit d8d2132

Browse files
Check the table height too
1 parent 56ebca2 commit d8d2132

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test-table.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public function test_column_value_too_long() {
1919

2020
$out = $table->getDisplayLines();
2121
// "+ 1" accommodates "\n"
22+
$this->assertCount( 12, $out );
2223
$this->assertEquals( $constaint_width, strlen( $out[0] ) + 1 );
2324
$this->assertEquals( $constaint_width, strlen( $out[1] ) + 1 );
2425
$this->assertEquals( $constaint_width, strlen( $out[2] ) + 1 );

0 commit comments

Comments
 (0)