Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Fix i18n language setting test failing for canadian phones
Browse files Browse the repository at this point in the history
  • Loading branch information
mmocny committed Feb 14, 2014
1 parent 51f6158 commit fb38f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chrome-apps-api-tests/tests/auto/test.chrome.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ registerAutoTests('chrome.i18n', function(runningInBackground) {
}
});

it('language should be set to en-US', function() {
expect(navigator.language.toLowerCase()).toBe('en-us');
it('language should be set to en-*', function() {
expect(navigator.language.toLowerCase()).toMatch(/^en-.*$/);
});

if (!runningInBackground) {
Expand Down

0 comments on commit fb38f3a

Please sign in to comment.