test: change call to deprecated util.isError()
test: change call to deprecated util.isError()

common.Error() is just util.isError() which is deprecated. Use
assert.throws() instead.

PR-URL: https://github.com/nodejs/node/pull/3084
Reviewed-By: Michaël Zasso <dc852f7f42c586356f6be32b8780273088b3bded@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <767c993c25b04139f9abc27a1bb4597f429afab3@gmail.com>

dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node