aboutsummaryrefslogtreecommitdiff
path: root/test/language
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-06-10 21:57:08 +0200
committerGitHub <noreply@github.com>2024-06-10 19:57:08 +0000
commitee2b425ffea94c069d48b6cebcc68352f05c3d50 (patch)
treef58e40b1d0d992ebef8fb83214a46bdc99fe80b2 /test/language
parente24075e1a91ab8b58bb5836cf7abcefae5cbf8c3 (diff)
fix -masen verbs being deinflected as negative potential polite (#1046)
* test * fix * positive test
Diffstat (limited to 'test/language')
-rw-r--r--test/language/japanese-transforms.test.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/language/japanese-transforms.test.js b/test/language/japanese-transforms.test.js
index d0ff131e..f62eef0f 100644
--- a/test/language/japanese-transforms.test.js
+++ b/test/language/japanese-transforms.test.js
@@ -316,6 +316,8 @@ const tests = [
{term: '話す', source: '話してる', rule: 'v5', reasons: ['-te', 'progressive or perfect']},
{term: '話す', source: '話しとる', rule: 'v5', reasons: ['-te', 'progressive or perfect']},
{term: '話す', source: '話してしまう', rule: 'v5', reasons: ['-te', '-shimau']},
+
+ {term: '増す', source: '増せん', rule: 'v5', reasons: ['potential', '-n']},
],
},
{
@@ -1097,10 +1099,12 @@ const tests = [
],
},
{
- category: 'incorrect -te rule chain',
+ category: 'incorrect chains',
valid: false,
tests: [
{term: '食べる', source: '食べて', rule: null, reasons: ['-te', 'progressive or perfect', 'masu stem']},
+
+ {term: 'なる', source: 'なりません', rule: null, reasons: ['polite', 'potential', '-n']},
],
},
// Kansai-ben