diff options
author | Jared Haines <jared.haines@gmail.com> | 2018-10-12 11:23:14 -0700 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-10-15 15:38:36 +0200 |
commit | b2e4cb7b285e959438c8bdbf8edda3f69d2ffe98 (patch) | |
tree | 70e75a448b5d7ad3bebaffaa1a84c347016a62d0 /test | |
parent | a97944306f5206294369289ed641707ef54a8294 (diff) | |
download | android-node-v8-b2e4cb7b285e959438c8bdbf8edda3f69d2ffe98.tar.gz android-node-v8-b2e4cb7b285e959438c8bdbf8edda3f69d2ffe98.tar.bz2 android-node-v8-b2e4cb7b285e959438c8bdbf8edda3f69d2ffe98.zip |
test: increased code coverage for slowCases
Added test coverage for 4 un-covered if statements in slowCases
PR-URL: https://github.com/nodejs/node/pull/23592
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-internal-util-normalizeencoding.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/parallel/test-internal-util-normalizeencoding.js b/test/parallel/test-internal-util-normalizeencoding.js index 1fe97156ee..d7a0259ac9 100644 --- a/test/parallel/test-internal-util-normalizeencoding.js +++ b/test/parallel/test-internal-util-normalizeencoding.js @@ -18,6 +18,7 @@ const tests = [ ['utF-8', 'utf8'], ['ucs2', 'utf16le'], ['UCS2', 'utf16le'], + ['UcS2', 'utf16le'], ['ucs-2', 'utf16le'], ['UCS-2', 'utf16le'], ['UcS-2', 'utf16le'], @@ -31,8 +32,11 @@ const tests = [ ['LaTiN1', 'latin1'], ['base64', 'base64'], ['BASE64', 'base64'], + ['Base64', 'base64'], ['hex', 'hex'], ['HEX', 'hex'], + ['ASCII', 'ascii'], + ['AsCii', 'ascii'], ['foo', undefined], [1, undefined], [false, undefined], |