diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2018-02-13 06:09:31 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-02-16 19:37:43 +0100 |
commit | 463d1a490f2ed4679f8805fa57084b4445ea40d6 (patch) | |
tree | 8f374c61041786a1538e4f1bae05fb297ab2e22c /test/parallel/test-http2-create-client-session.js | |
parent | 36386dc4e349eb593208820949a02e93dc1ffd87 (diff) | |
download | android-node-v8-463d1a490f2ed4679f8805fa57084b4445ea40d6.tar.gz android-node-v8-463d1a490f2ed4679f8805fa57084b4445ea40d6.tar.bz2 android-node-v8-463d1a490f2ed4679f8805fa57084b4445ea40d6.zip |
test,benchmark,doc: enable dot-notation rule
This enables the eslint dot-notation rule for all code instead of
only in /lib.
PR-URL: https://github.com/nodejs/node/pull/18749
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
Diffstat (limited to 'test/parallel/test-http2-create-client-session.js')
-rw-r--r-- | test/parallel/test-http2-create-client-session.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-create-client-session.js b/test/parallel/test-http2-create-client-session.js index 963db2faa1..34e4e975d9 100644 --- a/test/parallel/test-http2-create-client-session.js +++ b/test/parallel/test-http2-create-client-session.js @@ -58,7 +58,7 @@ server.on('listening', common.mustCall(() => { assert.strictEqual(headers[':status'], 200, 'status code is set'); assert.strictEqual(headers['content-type'], 'text/html', 'content type is set'); - assert(headers['date'], 'there is a date'); + assert(headers.date); })); let data = ''; |