blob: 3778a9650fcc8d90f9d004d0c6f33df35936fd5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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();
|