Assert read value instead of exception

This commit is contained in:
Kevin Sawicki 2016-09-07 14:51:05 -07:00
parent 28b33074cf
commit d76c970da6

View file

@ -247,10 +247,8 @@ describe('node feature', function () {
}) })
}) })
it('does not throw an exception when calling read()', function () { it('returns null when read from', function () {
assert.doesNotThrow(function () { assert.equal(process.stdin.read(), null)
assert.equal(process.stdin.read(), null)
})
}) })
}) })