We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411e8ca commit 37446a6Copy full SHA for 37446a6
tests/CSS/CSSTest.php
@@ -109,7 +109,7 @@ public function testErrorHandling()
109
110
$minifier = $this->getMinifier();
111
$minifier->add($src);
112
- $this->expectExceptionMessageMatches('/Failed to replace with pattern/');
+ $this->expectException('MatthiasMullie\Minify\Exceptions\PatternMatchException');
113
$minifier->minify();
114
}
115
0 commit comments