Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Apr 25, 2019
1 parent 015f79e commit 687f34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/embed/src/locale.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ test('Normalizing "tr.tr-tr"', () => {
});

test('Normalizing "zh-hans.zh-cn"', () => {
expect(normalize('zh-hans.zh-cn')).toBe('zh-Hans');
expect(normalize('zh-hans.zh-cn')).toBe('zh-HANS');
});

test('Normalizing "zh-hant.zh-tw"', () => {
expect(normalize('zh-hant.zh-tw')).toBe('zh-Hant');
expect(normalize('zh-hant.zh-tw')).toBe('zh-HANT');
});

test('Normalizing "en.zh-hk" should become "en-US"', () => {
Expand Down

0 comments on commit 687f34e

Please sign in to comment.