Skip to content

Commit 1d0ef6f

Browse files
committed
Use expectException instead of setExpectedException
1 parent 47c33bd commit 1d0ef6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ public function getInvalidIdentifiers()
11901190
*/
11911191
public function invalidIdentifier($css)
11921192
{
1193-
$this->setExpectedException(UnexpectedTokenException::class);
1193+
$this->expectException(UnexpectedTokenException::class);
11941194

11951195
$oSettings = Settings::create()->withLenientParsing(false);
11961196
$oParser = new Parser($css, $oSettings);

0 commit comments

Comments
 (0)