Skip to content

Commit

Permalink
Update tests for changes in nth-check
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Nov 3, 2021
1 parent 96482e8 commit 884a565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/matches.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ test('select.matches()', (t) => {
() => {
matches(':' + pseudo + '()', u('root', []))
},
new RegExp('Error: Cannot use `:' + pseudo + '` without parent'),
/n-th rule couldn't be parsed/,
'should throw on `' + pseudo + '()`'
)
}
Expand Down

0 comments on commit 884a565

Please sign in to comment.