Skip to content

Commit ae40a78

Browse files
committed
test: rename test-regress-nodejsGH-1531
Rename the test appropriately alongside mentioning the subsystem Also, make a few basic changes to make sure the test conforms to the standard test structure Refs: nodejs#19105 Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
1 parent 5826fe4 commit ae40a78

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/parallel/test-regress-GH-1531.js renamed to test/parallel/test-http-request-agent.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict';
22
const common = require('../common');
3+
const fixtures = require('../common/fixtures');
34

45
// This test ensures that a http request callback is called
56
// when the agent option is set
@@ -8,8 +9,6 @@ const common = require('../common');
89
if (!common.hasCrypto)
910
common.skip('missing crypto');
1011

11-
const fixtures = require('../common/fixtures');
12-
1312
const https = require('https');
1413

1514
const options = {

0 commit comments

Comments
 (0)