Skip to content

Commit

Permalink
Merge fd98c57 into 6a07b01
Browse files Browse the repository at this point in the history
  • Loading branch information
ImanMh committed Oct 31, 2014
2 parents 6a07b01 + fd98c57 commit 6bf3d56
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,5 +645,12 @@ describe('pluralize', function () {

expect(pluralize.singular('mornings')).to.equal('suck');
});

it('should not modify letter cases', function () {
pluralize.addIrregularRule('UPPERCASE', 'UPPERCASEs');

expect(pluralize.plural('UPPERCASE')).to.equal('UPPERCASEs');
});

});
});

0 comments on commit 6bf3d56

Please sign in to comment.