@@ -76,7 +76,7 @@ test('select.select()', async function (t) {
76
76
)
77
77
78
78
await t . test ( 'should yield nothing if not given a node' , async function ( ) {
79
- assert . equal ( select ( '*' ) , null )
79
+ assert . equal ( select ( '*' ) , undefined )
80
80
} )
81
81
82
82
await t . test ( 'should yield the node if given a node' , async function ( ) {
@@ -184,7 +184,7 @@ test('select.select()', async function (t) {
184
184
u ( 'b' , 'Delta' )
185
185
] )
186
186
) ,
187
- null
187
+ undefined
188
188
)
189
189
} )
190
190
} )
@@ -227,7 +227,7 @@ test('select.select()', async function (t) {
227
227
'c ~ b' ,
228
228
u ( 'a' , [ u ( 'b' , 'Alpha' ) , u ( 'c' , 'Bravo' ) , u ( 'd' , 'Charlie' ) ] )
229
229
) ,
230
- null
230
+ undefined
231
231
)
232
232
} )
233
233
} )
@@ -258,7 +258,7 @@ test('select.select()', async function (t) {
258
258
'c:first-child' ,
259
259
u ( 'a' , [ u ( 'b' , 'Alpha' ) , u ( 'c' , 'Bravo' ) , u ( 'd' , 'Charlie' ) ] )
260
260
) ,
261
- null
261
+ undefined
262
262
)
263
263
}
264
264
)
@@ -289,7 +289,7 @@ test('select.select()', async function (t) {
289
289
'c:last-child' ,
290
290
u ( 'a' , [ u ( 'b' , 'Alpha' ) , u ( 'c' , 'Bravo' ) , u ( 'd' , 'Charlie' ) ] )
291
291
) ,
292
- null
292
+ undefined
293
293
)
294
294
}
295
295
)
@@ -320,7 +320,7 @@ test('select.select()', async function (t) {
320
320
'c:only-child' ,
321
321
u ( 'a' , [ u ( 'b' , 'Alpha' ) , u ( 'c' , 'Bravo' ) , u ( 'd' , 'Charlie' ) ] )
322
322
) ,
323
- null
323
+ undefined
324
324
)
325
325
}
326
326
)
@@ -676,7 +676,7 @@ test('select.select()', async function (t) {
676
676
)
677
677
678
678
await t . test ( 'should return nothing without matches' , async function ( ) {
679
- assert . equal ( select ( 'b:first-of-type' , u ( 'a' , [ ] ) ) , null )
679
+ assert . equal ( select ( 'b:first-of-type' , u ( 'a' , [ ] ) ) , undefined )
680
680
} )
681
681
} )
682
682
@@ -702,7 +702,7 @@ test('select.select()', async function (t) {
702
702
)
703
703
704
704
await t . test ( 'should return nothing without matches' , async function ( ) {
705
- assert . equal ( select ( 'b:last-of-type' , u ( 'a' , [ ] ) ) , null )
705
+ assert . equal ( select ( 'b:last-of-type' , u ( 'a' , [ ] ) ) , undefined )
706
706
} )
707
707
} )
708
708
@@ -737,13 +737,13 @@ test('select.select()', async function (t) {
737
737
u ( 'c' , 'Foxtrot' )
738
738
] )
739
739
) ,
740
- null
740
+ undefined
741
741
)
742
742
}
743
743
)
744
744
745
745
await t . test ( 'should return nothing without matches' , async function ( ) {
746
- assert . equal ( select ( 'b:only-of-type' , u ( 'a' , [ ] ) ) , null )
746
+ assert . equal ( select ( 'b:only-of-type' , u ( 'a' , [ ] ) ) , undefined )
747
747
} )
748
748
} )
749
749
0 commit comments