summaryrefslogtreecommitdiff
path: root/cli/tests/node_compat/test/parallel/test-http-outgoing-internal-headernames-setter.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/node_compat/test/parallel/test-http-outgoing-internal-headernames-setter.js')
-rw-r--r--cli/tests/node_compat/test/parallel/test-http-outgoing-internal-headernames-setter.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/cli/tests/node_compat/test/parallel/test-http-outgoing-internal-headernames-setter.js b/cli/tests/node_compat/test/parallel/test-http-outgoing-internal-headernames-setter.js
deleted file mode 100644
index 9531e5611..000000000
--- a/cli/tests/node_compat/test/parallel/test-http-outgoing-internal-headernames-setter.js
+++ /dev/null
@@ -1,22 +0,0 @@
-// deno-fmt-ignore-file
-// deno-lint-ignore-file
-
-// Copyright Joyent and Node contributors. All rights reserved. MIT license.
-// Taken from Node 18.12.1
-// This file is automatically generated by `tools/node_compat/setup.ts`. Do not modify this file manually.
-
-'use strict';
-const common = require('../common');
-
-const { OutgoingMessage } = require('http');
-
-const warn = 'OutgoingMessage.prototype._headerNames is deprecated';
-common.expectWarning('DeprecationWarning', warn, 'DEP0066');
-
-{
- // Tests for _headerNames set method
- const outgoingMessage = new OutgoingMessage();
- outgoingMessage._headerNames = {
- 'x-flow-id': '61bba6c5-28a3-4eab-9241-2ecaa6b6a1fd'
- };
-}