Skip to content

Commit

Permalink
Test that getCanonicalLocales() returns a mutable array.
Browse files Browse the repository at this point in the history
Will fix #745
  • Loading branch information
jungshik committed Aug 12, 2016
1 parent 894bbcc commit cd3faae
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ assert.notSameValue(result, locales, "result is a new array instance");
assert.sameValue(result.length, 1, "result.length");
assert(result.hasOwnProperty("0"), "result an own property `0`");
assert.sameValue(result[0], "en-US", "result[0]");
assert.sameValue(result.push('fr'), 2, "result.push('fr')");

0 comments on commit cd3faae

Please sign in to comment.