diff --git a/Tests/Command/Descriptor/HtmlDescriptorTest.php b/Tests/Command/Descriptor/HtmlDescriptorTest.php index 09acf149..156b0a82 100644 --- a/Tests/Command/Descriptor/HtmlDescriptorTest.php +++ b/Tests/Command/Descriptor/HtmlDescriptorTest.php @@ -45,7 +45,7 @@ public function testItOutputsStylesAndScriptsOnFirstDescribeCall() $descriptor->describe($output, new Data([[123]]), ['timestamp' => 1544804268.3668], 1); - $this->assertStringNotMatchesFormat('%A', $output->fetch(), 'styles & scripts are output only once'); + $this->assertDoesNotMatchRegularExpression('#(.*)#', $output->fetch(), 'styles & scripts are output only once'); } /**