Skip to content

Commit

Permalink
chore: minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
birtles committed Jun 20, 2024
1 parent e4ef932 commit 57fbef2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/background/deinflect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ describe('deinflect', () => {
it('deinflects 致す as humble speech for する', () => {
// prettier-ignore
const cases: Array<[string, string, Array<Reason>]> = [
['お願いいたします','お願い',[Reason.SuruNoun, Reason.Humble, Reason.Polite]],
['お願い致します','お願い',[Reason.SuruNoun, Reason.Humble, Reason.Polite]],
['お願いいたします','お願い', [Reason.SuruNoun, Reason.Humble, Reason.Polite]],
['お願い致します','お願い', [Reason.SuruNoun, Reason.Humble, Reason.Polite]],
['待ちいたします', '待つ', [Reason.Humble, Reason.Polite]],
['待ち致します', '待つ', [Reason.Humble, Reason.Polite]],
['食べいたします', '食べる', [Reason.Humble, Reason.Polite]],
Expand Down
2 changes: 1 addition & 1 deletion src/background/deinflect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ export function deinflect(word: string): CandidateWord[] {
}

const candidate: CandidateWord = {
reasonChains: reasonChains,
reasonChains,
type: rule.toType,
word: newWord,
};
Expand Down

0 comments on commit 57fbef2

Please sign in to comment.