arguments.callee is forbidden in strict mode and the fact that it's
being used masked a possible error in this test.
PR-URL: https://github.com/nodejs/node/pull/3167
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
if (err && (err.code === errno || err.code === 'ENOSYS')) {
tests_ok++;
} else {
- console.log('FAILED:', arguments.callee.name, util.inspect(arguments));
+ console.log('FAILED:', 'expect_errno', util.inspect(arguments));
}
}
err && err.code === 'ENOSYS') {
tests_ok++;
} else {
- console.log('FAILED:', arguments.callee.name, util.inspect(arguments));
+ console.log('FAILED:', 'expect_ok', util.inspect(arguments));
}
}