mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
PR-URL: https://github.com/nodejs/node/pull/17498 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Jon Moss <me@jonathanmoss.me>
12 lines
274 B
JavaScript
12 lines
274 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const stream = require('stream');
|
|
|
|
const readable = new stream.Readable();
|
|
|
|
common.expectsError(() => readable.read(), {
|
|
code: 'ERR_STREAM_READ_NOT_IMPLEMENTED',
|
|
type: Error,
|
|
message: '_read() is not implemented'
|
|
});
|