Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: increased code coverage for slowCases
Added test coverage for 4 un-covered if statements in slowCases
  • Loading branch information
jehaines committed Oct 12, 2018
commit 8a52c1ea288a085fbfe50e72a26d62100f602eae
4 changes: 4 additions & 0 deletions test/parallel/test-internal-util-normalizeencoding.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const tests = [
['utF-8', 'utf8'],
['ucs2', 'utf16le'],
['UCS2', 'utf16le'],
['UcS2', 'utf16le'],
['ucs-2', 'utf16le'],
['UCS-2', 'utf16le'],
['UcS-2', 'utf16le'],
Expand All @@ -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],
Expand Down