Skip to content

Commit d552598

Browse files
jehainesjasnell
authored andcommitted
test: increased code coverage for slowCases
Added test coverage for 4 un-covered if statements in slowCases PR-URL: #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>
1 parent 0b510da commit d552598

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/parallel/test-internal-util-normalizeencoding.js

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const tests = [
1818
['utF-8', 'utf8'],
1919
['ucs2', 'utf16le'],
2020
['UCS2', 'utf16le'],
21+
['UcS2', 'utf16le'],
2122
['ucs-2', 'utf16le'],
2223
['UCS-2', 'utf16le'],
2324
['UcS-2', 'utf16le'],
@@ -31,8 +32,11 @@ const tests = [
3132
['LaTiN1', 'latin1'],
3233
['base64', 'base64'],
3334
['BASE64', 'base64'],
35+
['Base64', 'base64'],
3436
['hex', 'hex'],
3537
['HEX', 'hex'],
38+
['ASCII', 'ascii'],
39+
['AsCii', 'ascii'],
3640
['foo', undefined],
3741
[1, undefined],
3842
[false, undefined],

0 commit comments

Comments
 (0)