From 7b11d2a15945c9fcb448dc1e321102a56cc3a4ce Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sun, 2 Feb 2025 15:19:48 +0100 Subject: [PATCH] [BUGFIX] Drop test that passes in the wrong type `OutputFormat::spaceAfterListArgumentSeparator` is expected to be a string, not an array. This was discovered by adding dedicated, strictly typed property accessors for `OutputFormat`. --- tests/OutputFormatTest.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/OutputFormatTest.php b/tests/OutputFormatTest.php index f308806e9..d87e0b724 100644 --- a/tests/OutputFormatTest.php +++ b/tests/OutputFormatTest.php @@ -96,23 +96,6 @@ public function spaceAfterListArgumentSeparator(): void ); } - /** - * @test - */ - public function spaceAfterListArgumentSeparatorComplex(): void - { - self::assertSame( - '.main, .test {font: italic normal bold 16px/1.2 "Helvetica", Verdana, sans-serif;background: white;}' - . "\n@media screen {.main {background-size: 100% 100%;font-size: 1.3em;background-color: #fff;}}", - $this->document->render(OutputFormat::create()->setSpaceAfterListArgumentSeparator([ - 'default' => ' ', - ',' => "\t", - '/' => '', - ' ' => '', - ])) - ); - } - /** * @test */