diff --git a/en.js b/en.js index b72c73e..141ba84 100644 --- a/en.js +++ b/en.js @@ -15,6 +15,7 @@ const retextProfanitiesEn = factory({ 'children', 'dy', // Singular of `dies`. 'pro', // Singular of `pros`. + 'remain', // Singular of `remains` 'so', // Singular of `sos`. 'dice', // Plural of `die`. 'fus' // Plural of `fu`. diff --git a/test.js b/test.js index 8230210..6ce8d94 100644 --- a/test.js +++ b/test.js @@ -121,4 +121,14 @@ test('profanities', async () => { ['3:1-3:6: Don’t use `whore`, it’s profane'], 'should not warn about `who are` contractions' ) + + const remain = await retext() + .use(retextProfanities) + .process('Only two minutes still remain in the game.') + + assert.deepEqual( + remain.messages.map(String), + [], + 'should not warn about `remain`' + ) })