mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 02:25:59 +03:00 
			
		
		
		
	Allow exponential notation with E uppercase inside icon paths (#3843)
This commit is contained in:
		
							parent
							
								
									dc154ad9a2
								
							
						
					
					
						commit
						6a07e9cfea
					
				| @ -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"`, () => { | ||||
|  | ||||
| @ -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"`, () => { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user