diff --git a/test/cldr.test.js b/test/cldr.test.js index 8961df5d..f61f8335 100644 --- a/test/cldr.test.js +++ b/test/cldr.test.js @@ -187,7 +187,7 @@ describe('load calendar', () => { it('should set predefined patterns', () => { const patterns = cldr.bg.calendar.patterns; - expect(patterns.d).toEqual("d.MM.y 'г'."); + expect(patterns.d).toEqual("d.MM.y 'г'."); expect(patterns.D).toEqual("EEEE, d MMMM y 'г'."); expect(patterns.F).toEqual("EEEE, d MMMM y 'г'. H:mm:ss 'ч'."); expect(patterns.g).toEqual("d.MM.y 'г'. H:mm 'ч'."); diff --git a/test/format.test.js b/test/format.test.js index 0886f53f..36cd0ba4 100644 --- a/test/format.test.js +++ b/test/format.test.js @@ -23,7 +23,7 @@ describe('toString', () => { }); it('formats value as date based on the specified locale', () => { - expect(toString(new Date(2000, 0, 30), "d", "bg")).toEqual("30.01.2000 г."); + expect(toString(new Date(2000, 0, 30), "d", "bg")).toEqual("30.01.2000 г."); }); it('formats value as number', () => { @@ -57,6 +57,6 @@ describe('format', () => { }); it('formats values based on specified format and locale', () => { - expect(format("{0:d}-{1:c}", [new Date(2000, 0, 30), 10], "bg")).toEqual("30.01.2000 г.-10,00 лв."); + expect(format("{0:d}-{1:c}", [new Date(2000, 0, 30), 10], "bg")).toEqual("30.01.2000 г.-10,00 лв."); }); }); \ No newline at end of file