aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCashew <52880648+cashewnuttynuts@users.noreply.github.com>2024-06-29 16:44:15 +0700
committerGitHub <noreply@github.com>2024-06-29 09:44:15 +0000
commit4a0689ae3c769d43e339059927f44361c157cdd0 (patch)
treeb52ffcb68b5b6dfd14f9990f0978524b3fe4ab43 /test
parentb4e885d1f1f467152295c2a830d87704b36f4ff6 (diff)
Update language features docs (#1148)
* update docs * delete unwanted code * update link * add fullstop * add may * change rule to condition * change confer to refer to
Diffstat (limited to 'test')
-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 */