test: fix invalid variable name
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>
Thu, 1 Oct 2015 19:15:03 +0000 (00:45 +0530)
committerRod Vagg <rod@vagg.org>
Fri, 2 Oct 2015 03:39:26 +0000 (13:39 +1000)
commit0858c86374876e50cd54c2c4d9aa65a868846533
tree3834d1f5398f09b0bcce23ca7a58f1af034e1620
parent39b8730e8b0e5d71e38a5cd6512ddc30a1849e7c
test: fix invalid variable name

The variable `er` is not declared at all. So if EPERM error is ever
raised then the `er` will throw `ReferenceError` and the code will
break.

PR-URL: https://github.com/nodejs/node/pull/3150
Reviewed-By: Brian White <mscdex@mscdex.net>
test/common.js