diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test-japanese.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/test-japanese.js b/test/test-japanese.js index 54186a96..e70698da 100644 --- a/test/test-japanese.js +++ b/test/test-japanese.js @@ -334,6 +334,25 @@ function testDistributeFurigana() { [ {text: '長い間', furigana: 'ながいあいだ'} ] + ], + // Same/empty reading + [ + ['飼い犬', ''], + [ + {text: '飼い犬', furigana: ''} + ] + ], + [ + ['かいいぬ', 'かいいぬ'], + [ + {text: 'かいいぬ', furigana: ''} + ] + ], + [ + ['かいぬ', 'かいぬ'], + [ + {text: 'かいぬ', furigana: ''} + ] ] ]; |