summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-29 13:09:02 -0500
committerGitHub <noreply@github.com>2020-11-29 13:09:02 -0500
commit34451ebf7122a2a5d140696215411abfb0dfe188 (patch)
treee9eddb52f133269853059372045dea510e8d02dc /test
parenta8cd03cbecf4015483ce3479e589e65ce7eece45 (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.js4
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() {