Skip to content

Commit 922a77c

Browse files
authored
Merge pull request #59 from dshook/issue-56
Fix for #56 singular of minus
2 parents 2752aa9 + b8a002c commit 922a77c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

lib/inflection.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
// 'metal',
200200
'methane',
201201
'milk',
202+
'minus',
202203
'money',
203204
// 'moose',
204205
'mud',

test/inflection.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ describe( 'test .singularize', function (){
9292
inflection.singularize( 'criterion' ).should.equal( 'criterion' );
9393
inflection.singularize( 'genera' ).should.equal( 'genus' );
9494
inflection.singularize( 'genus' ).should.equal( 'genus' );
95+
inflection.singularize( 'minus' ).should.equal( 'minus' );
9596

9697
});
9798
});

0 commit comments

Comments
 (0)