aboutsummaryrefslogtreecommitdiff
path: root/test/language
diff options
context:
space:
mode:
Diffstat (limited to 'test/language')
-rw-r--r--test/language/english-transforms.test.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/language/english-transforms.test.js b/test/language/english-transforms.test.js
index 9109f679..03364618 100644
--- a/test/language/english-transforms.test.js
+++ b/test/language/english-transforms.test.js
@@ -28,6 +28,7 @@ const tests = [
tests: [
{term: 'cat', source: 'cats', rule: 'ns', reasons: ['plural']},
{term: 'cat', source: 'cat\'s', rule: 'ns', reasons: ['possessive']},
+ {term: 'cat', source: 'cats\'', rule: 'ns', reasons: ['plural', 'possessive']},
{term: 'cats', source: 'cats\'', rule: 'ns', reasons: ['possessive']},
{term: 'dirt', source: 'dirty', rule: 'ns', reasons: ['-y']},
{term: 'haze', source: 'hazy', rule: 'ns', reasons: ['-y']},
@@ -144,6 +145,13 @@ const tests = [
{term: 'humble', source: 'humbly', rule: 'adj', reasons: ['adverb']},
],
},
+ {
+ category: 'invalid deinflections',
+ valid: false,
+ tests: [
+ {term: 'boss', source: 'bo', rule: 'ns', reasons: ['plural', 'plural']},
+ ],
+ },
];
/* eslint-enable @stylistic/no-multi-spaces */