You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been noticed that this lib has wrong behavior with negative numbers. For example expect(getPluralNoun(-1, 'телефон', 'телефона', 'телефонов')).toBe('телефона'), but I receive 'телефонов'. I think you should add a = Math.abs(a) in getNounPluralForm function or something like that.
The text was updated successfully, but these errors were encountered:
I've been noticed that this lib has wrong behavior with negative numbers. For example
expect(getPluralNoun(-1, 'телефон', 'телефона', 'телефонов')).toBe('телефона')
, but I receive 'телефонов'. I think you should adda = Math.abs(a)
in getNounPluralForm function or something like that.The text was updated successfully, but these errors were encountered: