mirror of
https://github.com/simple-icons/simple-icons.git
synced 2025-01-05 01:20:39 +02:00
Allow exponential notation inside icons paths (#2946)
This commit is contained in:
parent
5e42a4aa4d
commit
f358b1c27e
@ -24,7 +24,7 @@ icons.forEach(icon => {
|
||||
|
||||
test(`${icon.title} has a "path"`, () => {
|
||||
expect(typeof subject.path).toBe('string');
|
||||
expect(subject.path).toMatch(/[MmZzLlHhVvCcSsQqTtAa0-9-,.\s]/g);
|
||||
expect(subject.path).toMatch(/[MmZzLlHhVvCcSsQqTtAae0-9-,.\s]/g);
|
||||
});
|
||||
|
||||
test(`${icon.title} has a "slug"`, () => {
|
||||
|
@ -24,7 +24,7 @@ icons.forEach(icon => {
|
||||
|
||||
test(`${icon.title} has a "path"`, () => {
|
||||
expect(typeof subject.path).toBe('string');
|
||||
expect(subject.path).toMatch(/^[MmZzLlHhVvCcSsQqTtAa0-9-,.\s]+$/g);
|
||||
expect(subject.path).toMatch(/^[MmZzLlHhVvCcSsQqTtAae0-9-,.\s]+$/g);
|
||||
});
|
||||
|
||||
test(`${icon.title} has a "slug"`, () => {
|
||||
|
Loading…
Reference in New Issue
Block a user