summaryrefslogtreecommitdiff
path: root/test/sequential/test-stringbytes-external-exceed-max-by-1-binary.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/sequential/test-stringbytes-external-exceed-max-by-1-binary.js')
-rw-r--r--test/sequential/test-stringbytes-external-exceed-max-by-1-binary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-stringbytes-external-exceed-max-by-1-binary.js b/test/sequential/test-stringbytes-external-exceed-max-by-1-binary.js
index 9564af08de..f91f1f49ff 100644
--- a/test/sequential/test-stringbytes-external-exceed-max-by-1-binary.js
+++ b/test/sequential/test-stringbytes-external-exceed-max-by-1-binary.js
@@ -21,7 +21,7 @@ try {
// Try to allocate memory first then force gc so future allocations succeed.
new Buffer(2 * kStringMaxLength);
gc();
-} catch(e) {
+} catch (e) {
// If the exception is not due to memory confinement then rethrow it.
if (e.message !== 'Invalid array buffer length') throw (e);
console.log(skipMessage);