@@ -66,6 +66,26 @@ public static function provideSelectorsAndSpecificities(): array
6666 ];
6767 }
6868
69+ /**
70+ * @return array<string, array{0: string}>
71+ */
72+ public static function provideInvalidSelectors (): array
73+ {
74+ return [
75+ // This is currently broken.
76+ // 'empty string' => [''],
77+ 'percent sign ' => ['% ' ],
78+ // This is currently broken.
79+ // 'hash only' => ['#'],
80+ // This is currently broken.
81+ // 'dot only' => ['.'],
82+ 'slash ' => ['/ ' ],
83+ 'less-than sign ' => ['< ' ],
84+ // This is currently broken.
85+ // 'whitespace only' => [" \t\n\r"],
86+ ];
87+ }
88+
6989 /**
7090 * @test
7191 *
@@ -112,26 +132,6 @@ public function isValidForValidSelectorReturnsTrue(string $selector): void
112132 self ::assertTrue (Selector::isValid ($ selector ));
113133 }
114134
115- /**
116- * @return array<string, array{0: string}>
117- */
118- public static function provideInvalidSelectors (): array
119- {
120- return [
121- // This is currently broken.
122- // 'empty string' => [''],
123- 'percent sign ' => ['% ' ],
124- // This is currently broken.
125- // 'hash only' => ['#'],
126- // This is currently broken.
127- // 'dot only' => ['.'],
128- 'slash ' => ['/ ' ],
129- 'less-than sign ' => ['< ' ],
130- // This is currently broken.
131- // 'whitespace only' => [" \t\n\r"],
132- ];
133- }
134-
135135 /**
136136 * @test
137137 *
0 commit comments