Skip to content

Commit

Permalink
Test: add a case for #180
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Apr 1, 2022
1 parent 137156c commit 00e7ac9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/modules/sortAttributesWithLists.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ describe('sortAttributesWithLists', () => {
);
});

it('issue #180', () => {
return init(
'<img sizes="(min-width: 300px) 200px, 100px">',
'<img sizes="(min-width: 300px) 200px, 100px">',
{
sortAttributesWithLists: 'alphabetical',
}
);
});

it('frequency', () => {
return init(
'<div class="foo baz bar"></div><div class="bar foo"></div>',
Expand Down

0 comments on commit 00e7ac9

Please sign in to comment.