Skip to content

Commit

Permalink
test: currect blank space
Browse files Browse the repository at this point in the history
  • Loading branch information
kspeyanski committed Dec 21, 2023
1 parent d382627 commit babd13a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/cldr.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 'ч'.");
Expand Down
4 changes: 2 additions & 2 deletions test/format.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down Expand Up @@ -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 лв.");
});
});

0 comments on commit babd13a

Please sign in to comment.