Skip to content

Commit 884a565

Browse files
committed
Update tests for changes in nth-check
1 parent 96482e8 commit 884a565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/matches.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ test('select.matches()', (t) => {
125125
() => {
126126
matches(':' + pseudo + '()', u('root', []))
127127
},
128-
new RegExp('Error: Cannot use `:' + pseudo + '` without parent'),
128+
/n-th rule couldn't be parsed/,
129129
'should throw on `' + pseudo + '()`'
130130
)
131131
}

0 commit comments

Comments
 (0)