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 Jan 28, 2023
1 parent facda82 commit 67ba926
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/validators.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4359,6 +4359,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 67ba926

Please sign in to comment.