@@ -150,28 +150,24 @@ test('fromSelector', async function (t) {
150150 } )
151151
152152 await t . test ( 'should support space (#2)' , async function ( ) {
153- assert . equal ( fromSelector ( 'altGlyph' , 'svg' ) . tagName , 'altGlyph' )
154- } )
155-
156- await t . test ( 'should support space (#3)' , async function ( ) {
157153 assert . equal ( fromSelector ( 'altGlyph' , { space : 'svg' } ) . tagName , 'altGlyph' )
158154 } )
159155
160- await t . test ( 'should support space (#4 )' , async function ( ) {
156+ await t . test ( 'should support space (#3 )' , async function ( ) {
161157 const result = fromSelector ( 'svg altGlyph' )
162158 const child = result . children [ 0 ]
163159 assert ( child . type === 'element' )
164160 assert . equal ( child . tagName , 'altGlyph' )
165161 } )
166162
167- await t . test ( 'should support space (#5 )' , async function ( ) {
163+ await t . test ( 'should support space (#4 )' , async function ( ) {
168164 const result = fromSelector ( 'div svg + altGlyph' )
169165 const child = result . children [ 1 ]
170166 assert ( child . type === 'element' )
171167 assert . equal ( child . tagName , 'altglyph' )
172168 } )
173169
174- await t . test ( 'should support space (#6 )' , async function ( ) {
170+ await t . test ( 'should support space (#5 )' , async function ( ) {
175171 assert . deepEqual (
176172 fromSelector (
177173 'p svg[viewbox="0 0 10 10"] circle[cx=10][cy=10][r=10] altGlyph'
0 commit comments