Skip to content

Commit 37446a6

Browse files
Compatibility with older PHPUnit versions
1 parent 411e8ca commit 37446a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CSS/CSSTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function testErrorHandling()
109109

110110
$minifier = $this->getMinifier();
111111
$minifier->add($src);
112-
$this->expectExceptionMessageMatches('/Failed to replace with pattern/');
112+
$this->expectException('MatthiasMullie\Minify\Exceptions\PatternMatchException');
113113
$minifier->minify();
114114
}
115115

0 commit comments

Comments
 (0)