node/test/parallel/test-warn-stream-wrap-depre...

11 lines
256 B
JavaScript

'use strict';
const common = require('../common');
// _stream_wrap is deprecated.
common.expectWarning('DeprecationWarning',
'The _stream_wrap module is deprecated. Use `node:stream` instead.', 'DEP0125');
require('_stream_wrap');