aboutsummaryrefslogtreecommitdiff
path: root/test/deinflection/cases.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/deinflection/cases.ts')
-rw-r--r--test/deinflection/cases.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/deinflection/cases.ts b/test/deinflection/cases.ts
index e0b2137..143e2a4 100644
--- a/test/deinflection/cases.ts
+++ b/test/deinflection/cases.ts
@@ -38,8 +38,10 @@ export default [
{ input: "落ちられる", mustHave: [ Inflection.Potential ], mustNotHave: [], },
{ input: "言われる", mustHave: [ Inflection.Passive ], mustNotHave: [], },
{ input: "喋っている", mustHave: [ Inflection.Tense.Continuous ], mustNotHave: [ Inflection.Suffix.Te ], },
- { input: "泳げれば", mustHave: [ Inflection.Suffix.Ba ], mustNotHave: [], },
+ { input: "泳げれば", mustHave: [ Inflection.Conditional.Ba ], mustNotHave: [], },
{ input: "取らなければ", mustHave: [ Inflection.Potential, Inflection.Negative ], mustNotHave: [], },
+ { input: "入ってはいけない", mustHave: [ Inflection.Obliged, Inflection.Negative ], mustNotHave: [ Inflection.Affirmative ], }, // obliged + negative = must not ~
+ { input: "行かなくてはなりません", mustHave: [ Inflection.Obliged, Inflection.Affirmative ], mustNotHave: [ Inflection.Negative ], }, // obliged + affirmative = must ~
// TODO: りゃ for いることは
// TODO: じゃ for では
// TODO: なきゃ + なくちゃ