aboutsummaryrefslogtreecommitdiff
path: root/test/single/api-japanese.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/single/api-japanese.test.ts')
-rw-r--r--test/single/api-japanese.test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/single/api-japanese.test.ts b/test/single/api-japanese.test.ts
index 4e89c64..e604f61 100644
--- a/test/single/api-japanese.test.ts
+++ b/test/single/api-japanese.test.ts
@@ -17,10 +17,11 @@ const cases = [
{ input: ["気を引き締める", "きをひきしめる"], output: "[気](き)を[引](ひ)き[締](し)める" },
// https://japanese.stackexchange.com/questions/69521/reading-per-kanji-irregular-readings
{ input: ["大口魚", "たら"], output: "[大口魚](たら)" },
+ { input: ["この辺に", "このへんに"], output: "この[辺](へん)に" },
] satisfies Test[];
cases.forEach(({ input, output }) => {
- Deno.test(`Japanese API class - ${input}`, async () => {
+ Deno.test(`Japanese API class - ${input[0]} (${input[1]}) -> ${output}`, async () => {
var jp = new Japanese(...input);
assertEquals(jp.furigana("refold-tools"), output);
});