From ae40a78944368ee46a74fa23623ddbaaa86e67d5 Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Thu, 8 Mar 2018 02:24:08 +0530 Subject: [PATCH] test: rename test-regress-GH-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: https://github.com/nodejs/node/issues/19105 Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure --- .../{test-regress-GH-1531.js => test-http-request-agent.js} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename test/parallel/{test-regress-GH-1531.js => test-http-request-agent.js} (99%) diff --git a/test/parallel/test-regress-GH-1531.js b/test/parallel/test-http-request-agent.js similarity index 99% rename from test/parallel/test-regress-GH-1531.js rename to test/parallel/test-http-request-agent.js index a61cc64ab626af..7831a269d983a1 100644 --- a/test/parallel/test-regress-GH-1531.js +++ b/test/parallel/test-http-request-agent.js @@ -1,5 +1,6 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); // This test ensures that a http request callback is called // when the agent option is set @@ -8,8 +9,6 @@ const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); -const fixtures = require('../common/fixtures'); - const https = require('https'); const options = {