Skip to content

Commit

Permalink
Including one more test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Tingan Ho committed Oct 21, 2017
1 parent 963eff6 commit 91a9743
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/Test.ts
Expand Up @@ -54,6 +54,8 @@ describe('Language definitions', () => {
it('match / specificity: should match based on specificity', () => {
const al = createInstance(['en', 'en-US']);
expect(al.get('en-US')).to.equal('en-US');
const al2 = createInstance(['en', 'en-US']);
expect(al2.get('en, en-US')).to.equal('en');
});

it('script / perfect match', () => {
Expand Down

0 comments on commit 91a9743

Please sign in to comment.