diff --git a/tests/Unit/Property/SelectorTest.php b/tests/Unit/Property/SelectorTest.php index 3aca3851..63abb6c3 100644 --- a/tests/Unit/Property/SelectorTest.php +++ b/tests/Unit/Property/SelectorTest.php @@ -66,6 +66,26 @@ public static function provideSelectorsAndSpecificities(): array ]; } + /** + * @return array + */ + public static function provideInvalidSelectors(): array + { + return [ + // This is currently broken. + // 'empty string' => [''], + 'percent sign' => ['%'], + // This is currently broken. + // 'hash only' => ['#'], + // This is currently broken. + // 'dot only' => ['.'], + 'slash' => ['/'], + 'less-than sign' => ['<'], + // This is currently broken. + // 'whitespace only' => [" \t\n\r"], + ]; + } + /** * @test * @@ -112,26 +132,6 @@ public function isValidForValidSelectorReturnsTrue(string $selector): void self::assertTrue(Selector::isValid($selector)); } - /** - * @return array - */ - public static function provideInvalidSelectors(): array - { - return [ - // This is currently broken. - // 'empty string' => [''], - 'percent sign' => ['%'], - // This is currently broken. - // 'hash only' => ['#'], - // This is currently broken. - // 'dot only' => ['.'], - 'slash' => ['/'], - 'less-than sign' => ['<'], - // This is currently broken. - // 'whitespace only' => [" \t\n\r"], - ]; - } - /** * @test *