Skip to content

Commit 0066316

Browse files
authored
[CLEANUP] Correct assert argument order in SelectorTest (#1491)
The first parameter is `$expected`, the second `$actual`.
1 parent 5f1cc1c commit 0066316

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Unit/Property/SelectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function parsesValidSelector(string $selector): void
9191
$result = Selector::parse(new ParserState($selector, Settings::create()));
9292

9393
self::assertInstanceOf(Selector::class, $result);
94-
self::assertSame($result->getSelector(), $selector);
94+
self::assertSame($selector, $result->getSelector());
9595
}
9696

9797
/**

0 commit comments

Comments
 (0)