0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/parallel/test-net-deprecated-setsimultaneousaccepts.js
cjihrig c99026bdd7
doc: update missing deprecation
The deprecation code was not updated when landing the PR.

PR-URL: https://github.com/nodejs/node/pull/23883
Refs: https://github.com/nodejs/node/pull/23760
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2018-10-27 09:02:10 -04:00

17 lines
295 B
JavaScript

// Flags: --no-warnings
'use strict';
const {
expectWarning
} = require('../common');
const {
_setSimultaneousAccepts
} = require('net');
expectWarning(
'DeprecationWarning',
'net._setSimultaneousAccepts() is deprecated and will be removed.',
'DEP0121');
_setSimultaneousAccepts();