Unverified Commit 8629c956 authored by Sebastian Van Sande's avatar Sebastian Van Sande Committed by Myles Borins
Browse files

test: improve punycode test coverage

Adds two additional tests for mapDomain function in punycode.js.
When an email address is given to the toASCII() and toUnicode()
functions, only the parts before the '@' character should be
encoded/decoded.

PR-URL: https://github.com/nodejs/node/pull/11144


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarSakthipriyan Vairamani <thechargingvolcano@gmail.com>
parent caf1ba15
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment