@@ -217,7 +217,10 @@ test('select.matches()', (t) => {
217217 'true if attribute matches (space-separated list, 2)'
218218 )
219219 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+ ) ,
221224 'true if attribute matches (comma-separated list)'
222225 )
223226 t . ok (
@@ -254,7 +257,10 @@ test('select.matches()', (t) => {
254257 'false if attribute does not matches (space-separated list, 2)'
255258 )
256259 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+ ) ,
258264 'false if attribute does not matches (comma-separated list)'
259265 )
260266 t . notOk (
@@ -295,7 +301,10 @@ test('select.matches()', (t) => {
295301 'true if attribute starts with (space-separated list)'
296302 )
297303 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+ ) ,
299308 'true if attribute starts with (comma-separated list)'
300309 )
301310 t . ok (
@@ -328,7 +337,10 @@ test('select.matches()', (t) => {
328337 'false if attribute does not start with (space-separated list)'
329338 )
330339 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+ ) ,
332344 'false if attribute does not start with (comma-separated list)'
333345 )
334346 t . notOk (
@@ -443,7 +455,10 @@ test('select.matches()', (t) => {
443455 'true if attribute contains (space-separated list)'
444456 )
445457 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+ ) ,
447462 'true if attribute contains (comma-separated list)'
448463 )
449464 t . ok (
@@ -476,7 +491,10 @@ test('select.matches()', (t) => {
476491 'false if attribute does not contain (space-separated list)'
477492 )
478493 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+ ) ,
480498 'false if attribute does not contain (comma-separated list)'
481499 )
482500
@@ -618,7 +636,10 @@ test('select.matches()', (t) => {
618636 'true if attribute matches (space-separated list, 2)'
619637 )
620638 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+ ) ,
622643 'true if attribute matches (comma-separated list)'
623644 )
624645 t . ok (
@@ -655,7 +676,10 @@ test('select.matches()', (t) => {
655676 'false if attribute does not matches (space-separated list, 2)'
656677 )
657678 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+ ) ,
659683 'false if attribute does not matches (comma-separated list)'
660684 )
661685 t . notOk (
0 commit comments