streams: make setDefaultEncoding() throw
PR-URL: https://github.com/joyent/node/pull/8529 Fixes: f04f3a0d "streams: set default encoding for writable streams" [trev.norris@gmail.com: update tests to check if throws] Signed-off-by:Trevor Norris <trev.norris@gmail.com>
parent
db7df57e
Please register or sign in to comment