diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-29 13:09:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-29 13:09:02 -0500 |
commit | 34451ebf7122a2a5d140696215411abfb0dfe188 (patch) | |
tree | e9eddb52f133269853059372045dea510e8d02dc /test | |
parent | a8cd03cbecf4015483ce3479e589e65ce7eece45 (diff) |
JapaneseUtil normalization (#1076)
* Use JapaneseUtil as a class which is manually instantiated
* Use alias function for toKana
Diffstat (limited to 'test')
-rw-r--r-- | test/test-japanese.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-japanese.js b/test/test-japanese.js index e70698da..97d613fe 100644 --- a/test/test-japanese.js +++ b/test/test-japanese.js @@ -25,8 +25,8 @@ vm.execute([ 'mixed/js/japanese.js', 'bg/js/text-source-map.js' ]); -const jp = vm.get('jp'); -const TextSourceMap = vm.get('TextSourceMap'); +const [JapaneseUtil, TextSourceMap, wanakana] = vm.get(['JapaneseUtil', 'TextSourceMap', 'wanakana']); +const jp = new JapaneseUtil(wanakana); function testIsCodePointKanji() { |