@@ -217,7 +217,10 @@ test('select.matches()', (t) => {
217
217
'true if attribute matches (space-separated list, 2)'
218
218
)
219
219
t . ok (
220
- matches ( '[accept=audio/*]' , h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } ) ) ,
220
+ matches (
221
+ '[accept=audio/*]' ,
222
+ h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } )
223
+ ) ,
221
224
'true if attribute matches (comma-separated list)'
222
225
)
223
226
t . ok (
@@ -254,7 +257,10 @@ test('select.matches()', (t) => {
254
257
'false if attribute does not matches (space-separated list, 2)'
255
258
)
256
259
t . notOk (
257
- matches ( '[accept=image/*]' , h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } ) ) ,
260
+ matches (
261
+ '[accept=image/*]' ,
262
+ h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } )
263
+ ) ,
258
264
'false if attribute does not matches (comma-separated list)'
259
265
)
260
266
t . notOk (
@@ -295,7 +301,10 @@ test('select.matches()', (t) => {
295
301
'true if attribute starts with (space-separated list)'
296
302
)
297
303
t . ok (
298
- matches ( '[accept^=audio]' , h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } ) ) ,
304
+ matches (
305
+ '[accept^=audio]' ,
306
+ h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } )
307
+ ) ,
299
308
'true if attribute starts with (comma-separated list)'
300
309
)
301
310
t . ok (
@@ -328,7 +337,10 @@ test('select.matches()', (t) => {
328
337
'false if attribute does not start with (space-separated list)'
329
338
)
330
339
t . notOk (
331
- matches ( '[accept^=video]' , h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } ) ) ,
340
+ matches (
341
+ '[accept^=video]' ,
342
+ h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } )
343
+ ) ,
332
344
'false if attribute does not start with (comma-separated list)'
333
345
)
334
346
t . notOk (
@@ -443,7 +455,10 @@ test('select.matches()', (t) => {
443
455
'true if attribute contains (space-separated list)'
444
456
)
445
457
t . ok (
446
- matches ( '[accept*=audio/*]' , h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } ) ) ,
458
+ matches (
459
+ '[accept*=audio/*]' ,
460
+ h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } )
461
+ ) ,
447
462
'true if attribute contains (comma-separated list)'
448
463
)
449
464
t . ok (
@@ -476,7 +491,10 @@ test('select.matches()', (t) => {
476
491
'false if attribute does not contain (space-separated list)'
477
492
)
478
493
t . notOk (
479
- matches ( '[accept*=video/*]' , h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } ) ) ,
494
+ matches (
495
+ '[accept*=video/*]' ,
496
+ h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } )
497
+ ) ,
480
498
'false if attribute does not contain (comma-separated list)'
481
499
)
482
500
@@ -618,7 +636,10 @@ test('select.matches()', (t) => {
618
636
'true if attribute matches (space-separated list, 2)'
619
637
)
620
638
t . ok (
621
- matches ( '[accept|=audio/*]' , h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } ) ) ,
639
+ matches (
640
+ '[accept|=audio/*]' ,
641
+ h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } )
642
+ ) ,
622
643
'true if attribute matches (comma-separated list)'
623
644
)
624
645
t . ok (
@@ -655,7 +676,10 @@ test('select.matches()', (t) => {
655
676
'false if attribute does not matches (space-separated list, 2)'
656
677
)
657
678
t . notOk (
658
- matches ( '[accept|=video/*]' , h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } ) ) ,
679
+ matches (
680
+ '[accept|=video/*]' ,
681
+ h ( 'input' , { type : 'file' , accept : [ 'audio/*' ] } )
682
+ ) ,
659
683
'false if attribute does not matches (comma-separated list)'
660
684
)
661
685
t . notOk (
0 commit comments