From 4a0689ae3c769d43e339059927f44361c157cdd0 Mon Sep 17 00:00:00 2001 From: Cashew <52880648+cashewnuttynuts@users.noreply.github.com> Date: Sat, 29 Jun 2024 16:44:15 +0700 Subject: 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 --- test/language/english-transforms.test.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/language/english-transforms.test.js') 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 */ -- cgit v1.2.3