Skip to content

Commit c5b8b77

Browse files
committed
Add test for createCompact() itself.
1 parent 7114f98 commit c5b8b77

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

tests/Unit/OutputFormatTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,16 @@ public function createCompactReturnsInstanceWithSpaceAfterListArgumentSeparators
10341034
self::assertSame([], $newInstance->getSpaceAfterListArgumentSeparators());
10351035
}
10361036

1037+
/**
1038+
* @test
1039+
*/
1040+
public function createCompactReturnsInstanceWithRenderSemicolonAfterLastRuleDisabled(): void
1041+
{
1042+
$newInstance = OutputFormat::createCompact();
1043+
1044+
self::assertFalse($newInstance->shouldRenderSemicolonAfterLastRule());
1045+
}
1046+
10371047
/**
10381048
* @test
10391049
*/

0 commit comments

Comments
 (0)