From 5f37ae3dabb4032a42cf0798804bf572952367a4 Mon Sep 17 00:00:00 2001 From: Yaroslav Serhieiev Date: Mon, 13 Jan 2025 12:50:00 +0200 Subject: [PATCH] fix(pronoun): order of sama/samo (#75) --- .../__tests__/__snapshots__/personal.test.ts.snap | 12 ++++++------ src/pronoun/declensionPronoun.ts | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/pronoun/__tests__/__snapshots__/personal.test.ts.snap b/src/pronoun/__tests__/__snapshots__/personal.test.ts.snap index 031c70b..c97924f 100644 --- a/src/pronoun/__tests__/__snapshots__/personal.test.ts.snap +++ b/src/pronoun/__tests__/__snapshots__/personal.test.ts.snap @@ -631,33 +631,33 @@ exports[`pronoun personal 2219 1`] = ` "casesSingular": { "acc": [ "samogo / sam", - "samų", "samogo / samo", + "samų", ], "dat": [ "samomu", - "samoj", "samomu", + "samoj", ], "gen": [ "samogo", - "samoj", "samogo", + "samoj", ], "ins": [ "samym", - "samojų", "samym", + "samojų", ], "loc": [ "samom", - "samoj", "samom", + "samoj", ], "nom": [ "sam", - "sama", "samo", + "sama", ], }, "type": "adjective", diff --git a/src/pronoun/declensionPronoun.ts b/src/pronoun/declensionPronoun.ts index 1c2479e..708084c 100644 --- a/src/pronoun/declensionPronoun.ts +++ b/src/pronoun/declensionPronoun.ts @@ -133,12 +133,12 @@ export function declensionPronoun( return { type: 'adjective', casesSingular: { - nom: ['sam', 'sama', 'samo'], - acc: ['samogo / sam', 'samų', 'samogo / samo'], - gen: ['samogo', 'samoj', 'samogo'], - loc: ['samom', 'samoj', 'samom'], - dat: ['samomu', 'samoj', 'samomu'], - ins: ['samym', 'samojų', 'samym'], + nom: ['sam', 'samo', 'sama'], + acc: ['samogo / sam', 'samogo / samo', 'samų'], + gen: ['samogo', 'samogo', 'samoj'], + loc: ['samom', 'samom', 'samoj'], + dat: ['samomu', 'samomu', 'samoj'], + ins: ['samym', 'samym', 'samojų'], }, casesPlural: { nom: ['sami / same', 'same'],