diff options
author | ZYSzys <zyszys98@gmail.com> | 2019-05-12 15:11:13 +0800 |
---|---|---|
committer | ZYSzys <zyszys98@gmail.com> | 2019-05-13 19:39:34 +0800 |
commit | dcc5e51e1cb4e102effd7fc515681446b07e428e (patch) | |
tree | 63f566515f8150bbe96e63426293bc802c84eb38 /test/parallel/test-http-parser-lazy-loaded.js | |
parent | 618fcbd125c386b7bfb37cbc4dce12a694a4ee22 (diff) | |
download | node-new-dcc5e51e1cb4e102effd7fc515681446b07e428e.tar.gz |
tools: force common be required before any other modules
PR-URL: https://github.com/nodejs/node/pull/27650
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/parallel/test-http-parser-lazy-loaded.js')
-rw-r--r-- | test/parallel/test-http-parser-lazy-loaded.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/parallel/test-http-parser-lazy-loaded.js b/test/parallel/test-http-parser-lazy-loaded.js index 79b6ac37b3..a6c19f9353 100644 --- a/test/parallel/test-http-parser-lazy-loaded.js +++ b/test/parallel/test-http-parser-lazy-loaded.js @@ -1,7 +1,7 @@ // Flags: --expose-internals 'use strict'; - +const common = require('../common'); const { internalBinding } = require('internal/test/binding'); const { getOptionValue } = require('internal/options'); @@ -21,7 +21,6 @@ const binding = internalBinding('http_parser') : internalBinding('http_parser_llhttp'); binding.HTTPParser = DummyParser; -const common = require('../common'); const assert = require('assert'); const { spawn } = require('child_process'); const { parsers } = require('_http_common'); |