test: use shorthand properties

PR-URL: https://github.com/nodejs/node/pull/18105
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Tobias Nießen 2018-01-11 19:03:58 +01:00
parent eb68a06a3e
commit db9c556f50
No known key found for this signature in database
GPG key ID: 718207F8FD156B70
40 changed files with 55 additions and 86 deletions

View file

@ -34,7 +34,7 @@ class Agent extends http.Agent {
const agent = new Agent();
http.request({
agent: agent
agent
}).once('error', function() {
console.log('ignore');
});