[Icons] Prevent double underscores after replacement (#96904)
* Prevent double underscores after replacement * add test * remove trailing space
This commit is contained in:
@@ -36,4 +36,8 @@ void main() {
|
||||
expect(testIsStable(codepointsC, codepointsA), true);
|
||||
});
|
||||
});
|
||||
|
||||
test('no double underscores', () {
|
||||
expect(Icon.generateFlutterId('abc__123'), 'abc_123');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user