diff options
author | Robert Nagy <ronagy@icloud.com> | 2019-08-12 08:52:18 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-08-14 15:54:01 -0700 |
commit | d30354859cb58a5ceaa77fd286a551b932236382 (patch) | |
tree | ed7a9fa6cf447f6f58272dc5be4236ddadd1a5db /test/parallel/test-http-outgoing-internal-headers.js | |
parent | f7321dc7f950bb8027a589ca86e0f650b8301661 (diff) | |
download | android-node-v8-d30354859cb58a5ceaa77fd286a551b932236382.tar.gz android-node-v8-d30354859cb58a5ceaa77fd286a551b932236382.tar.bz2 android-node-v8-d30354859cb58a5ceaa77fd286a551b932236382.zip |
http: follow symbol naming convention
PR-URL: https://github.com/nodejs/node/pull/29091
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/parallel/test-http-outgoing-internal-headers.js')
-rw-r--r-- | test/parallel/test-http-outgoing-internal-headers.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http-outgoing-internal-headers.js b/test/parallel/test-http-outgoing-internal-headers.js index 13bb8efc29..b9e7aed165 100644 --- a/test/parallel/test-http-outgoing-internal-headers.js +++ b/test/parallel/test-http-outgoing-internal-headers.js @@ -3,7 +3,7 @@ const common = require('../common'); const assert = require('assert'); -const { outHeadersKey } = require('internal/http'); +const { kOutHeaders } = require('internal/http'); const { OutgoingMessage } = require('http'); const warn = 'OutgoingMessage.prototype._headers is deprecated'; @@ -25,7 +25,7 @@ common.expectWarning('DeprecationWarning', warn, 'DEP0066'); }; assert.deepStrictEqual( - Object.entries(outgoingMessage[outHeadersKey]), + Object.entries(outgoingMessage[kOutHeaders]), Object.entries({ host: ['host', 'risingstack.com'], origin: ['Origin', 'localhost'] |