Skip to content

Commit f25a4fb

Browse files
committed
Update tests related to comma-separated values
Related to: <rehypejs/rehype#78> Related to: <rehypejs/rehype#79>
1 parent 605961d commit f25a4fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,10 @@ test('hast-util-to-estree', (t) => {
448448
toEstree({
449449
type: 'element',
450450
tagName: 'x',
451-
properties: {srcSet: ['y', 'z']},
451+
properties: {accept: ['y', 'z']},
452452
children: []
453453
}),
454-
acornClean(acornParse('<x srcSet="y, z"/>')),
454+
acornClean(acornParse('<x accept="y, z"/>')),
455455
'should support comma-separated lists'
456456
)
457457

0 commit comments

Comments
 (0)