Sha256: 4d5209fdc907694241bc0f196de7561382be1c143f57f5a62b648c18681dd626
Contents?: true
Size: 300 Bytes
Versions: 5
Compression:
Stored size: 300 Bytes
Contents
'use strict'; require('../common'); const assert = require('assert'); const shouldThrow = function() { process.stdout.end(); }; const validateError = function(e) { return e instanceof Error && e.message === 'process.stdout cannot be closed.'; }; assert.throws(shouldThrow, validateError);
Version data entries
5 entries across 4 versions & 1 rubygems