Commit 3548f23b authored by Ludan Stoecklé's avatar Ludan Stoecklé

1.9.0 after patch

parent 828782b2
......@@ -24,6 +24,8 @@ export function processEnglishPlurals(inputFile: string, outputFile: string, cb:
plurals[singular] = plural;
})
.on('close', function(): void {
// brother -> brethren to remove...
delete plurals.brother;
outputStream.write(JSON.stringify(plurals));
console.log(`done, produced: ${outputFile}`);
cb();
......
......@@ -17,4 +17,7 @@ describe('english-plurals-list', function() {
assert.equal(EnglishPlurals[singular], expected);
});
}
it(`brother was removed`, function() {
assert(EnglishPlurals['brother'] == null);
});
});
......@@ -52,6 +52,7 @@ const testCasesPlural = [
['ratio', 'ratios'],
['torpedo', 'torpedoes'],
['alga', 'algae'],
['brother', 'brothers'],
];
describe('english-plurals', function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment