()
| 26 | |
| 27 | describe('NgLocalization', () => { |
| 28 | function roTests() { |
| 29 | it('should return plural cases for the provided locale', inject( |
| 30 | [NgLocalization], |
| 31 | (l10n: NgLocalization) => { |
| 32 | expect(l10n.getPluralCategory(0)).toEqual('few'); |
| 33 | expect(l10n.getPluralCategory(1)).toEqual('one'); |
| 34 | expect(l10n.getPluralCategory(1212)).toEqual('few'); |
| 35 | expect(l10n.getPluralCategory(1223)).toEqual('other'); |
| 36 | }, |
| 37 | )); |
| 38 | } |
| 39 | |
| 40 | describe('ro', () => { |
| 41 | beforeEach(() => { |
no test coverage detected