1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-16 00:59:07 +02:00

Allow exponential notation with E uppercase inside icon paths (#3843)

This commit is contained in:
Álvaro Mondéjar 2020-11-18 18:57:25 +01:00 committed by GitHub
parent dc154ad9a2
commit 6a07e9cfea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ icons.forEach(icon => {
test(`${icon.title} has a "path"`, () => {
expect(typeof subject.path).toBe('string');
expect(subject.path).toMatch(/[MmZzLlHhVvCcSsQqTtAae0-9-,.\s]/g);
expect(subject.path).toMatch(/[MmZzLlHhVvCcSsQqTtAaEe0-9-,.\s]/g);
});
test(`${icon.title} has a "slug"`, () => {

View File

@ -24,7 +24,7 @@ icons.forEach(icon => {
test(`${icon.title} has a "path"`, () => {
expect(typeof subject.path).toBe('string');
expect(subject.path).toMatch(/^[MmZzLlHhVvCcSsQqTtAae0-9-,.\s]+$/g);
expect(subject.path).toMatch(/^[MmZzLlHhVvCcSsQqTtAaEe0-9-,.\s]+$/g);
});
test(`${icon.title} has a "slug"`, () => {