summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-06 15:49:07 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-07 15:54:37 -0500
commit3a7cee9f737c9a01cd23f734089df41aacd276bb (patch)
tree20634a5509d4207b3d2b7bac814908aa4351d2aa /test
parent9f610128310baf46242adda718965c923f2c41ff (diff)
Fix furigana distribution when reading starts with expression, but has remainder characters (#1496)
Diffstat (limited to 'test')
-rw-r--r--test/test-japanese.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test-japanese.js b/test/test-japanese.js
index 1a4fc494..e9fb9c90 100644
--- a/test/test-japanese.js
+++ b/test/test-japanese.js
@@ -707,6 +707,13 @@ function testDistributeFurigana() {
{text: 'サボ', furigana: ''},
{text: 'る', furigana: 'ル'}
]
+ ],
+ // Reading starts with expression, but has remainder characters
+ [
+ ['シック', 'シック・ビルしょうこうぐん'],
+ [
+ {text: 'シック', furigana: 'シック・ビルしょうこうぐん'}
+ ]
]
];