Skip to content

Commit

Permalink
test(isRgbColor): add additional invalid tests
Browse files Browse the repository at this point in the history
related to #2113
  • Loading branch information
pano9000 committed Dec 6, 2022
1 parent 7bc5db6 commit 4b06727
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -4409,6 +4409,8 @@ describe('Validators', () => {
'rgba(3,3,3%,.3)',
'rgb(101%,101%,101%)',
'rgba(3%,3%,101%,0.3)',
'rgb(101%,101%,101%) additional invalid string part',
'rgba(3%,3%,101%,0.3) additional invalid string part',
],
});

Expand Down

0 comments on commit 4b06727

Please sign in to comment.