diff options
Diffstat (limited to 'test/japanese-util.test.js')
-rw-r--r-- | test/japanese-util.test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/japanese-util.test.js b/test/japanese-util.test.js index bff51f85..63ac5cdf 100644 --- a/test/japanese-util.test.js +++ b/test/japanese-util.test.js @@ -178,17 +178,17 @@ describe('Japanese utility functions', () => { }); }); - describe('convertNumericToFullWidth', () => { + describe('convertAlphanumericToFullWidth', () => { /** @type {[string: string, expected: string][]} */ const data = [ ['0123456789', '0123456789'], - ['abcdefghij', 'abcdefghij'], + ['abcdefghij', 'abcdefghij'], ['カタカナ', 'カタカナ'], ['ひらがな', 'ひらがな'] ]; test.each(data)('%s -> %o', (string, expected) => { - expect(jp.convertNumericToFullWidth(string)).toStrictEqual(expected); + expect(jp.convertAlphanumericToFullWidth(string)).toStrictEqual(expected); }); }); |