diff options
Diffstat (limited to 'test/parallel/test-http-parser-lazy-loaded.js')
-rw-r--r-- | test/parallel/test-http-parser-lazy-loaded.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/parallel/test-http-parser-lazy-loaded.js b/test/parallel/test-http-parser-lazy-loaded.js index a6c19f9353..3c4a7e7ce9 100644 --- a/test/parallel/test-http-parser-lazy-loaded.js +++ b/test/parallel/test-http-parser-lazy-loaded.js @@ -3,7 +3,6 @@ 'use strict'; const common = require('../common'); const { internalBinding } = require('internal/test/binding'); -const { getOptionValue } = require('internal/options'); // Monkey patch before requiring anything class DummyParser { @@ -16,9 +15,7 @@ class DummyParser { } DummyParser.REQUEST = Symbol(); -const binding = - getOptionValue('--http-parser') === 'legacy' ? - internalBinding('http_parser') : internalBinding('http_parser_llhttp'); +const binding = internalBinding('http_parser'); binding.HTTPParser = DummyParser; const assert = require('assert'); |