diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-01-21 01:22:27 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-02-28 18:31:10 +0100 |
commit | 9edce1e12a7b69e7986dd15fce18d6e46590161a (patch) | |
tree | c5d37d8016a27bab698520ecc51cda4f7ad99d40 /test/parallel/test-punycode.js | |
parent | 7b674697d8005c29391ebaaf562eb4d92ed9b129 (diff) | |
download | android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.tar.gz android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.tar.bz2 android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.zip |
benchmark,doc,lib,test: capitalize comments
This updates a lot of comments.
PR-URL: https://github.com/nodejs/node/pull/26223
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'test/parallel/test-punycode.js')
-rw-r--r-- | test/parallel/test-punycode.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-punycode.js b/test/parallel/test-punycode.js index 9f7f772e17..d7ad2ec21f 100644 --- a/test/parallel/test-punycode.js +++ b/test/parallel/test-punycode.js @@ -245,15 +245,15 @@ tests.forEach((testCase) => { // BMP code point assert.strictEqual(punycode.ucs2.encode([0x61]), 'a'); -// supplementary code point (surrogate pair) +// Supplementary code point (surrogate pair) assert.strictEqual(punycode.ucs2.encode([0x1D306]), '\uD834\uDF06'); // high surrogate assert.strictEqual(punycode.ucs2.encode([0xD800]), '\uD800'); -// high surrogate followed by non-surrogates +// High surrogate followed by non-surrogates assert.strictEqual(punycode.ucs2.encode([0xD800, 0x61, 0x62]), '\uD800ab'); // low surrogate assert.strictEqual(punycode.ucs2.encode([0xDC00]), '\uDC00'); -// low surrogate followed by non-surrogates +// Low surrogate followed by non-surrogates assert.strictEqual(punycode.ucs2.encode([0xDC00, 0x61, 0x62]), '\uDC00ab'); assert.strictEqual(errors, 0); |