summaryrefslogtreecommitdiff
path: root/test/parallel/test-promises-unhandled-rejections.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-promises-unhandled-rejections.js')
-rw-r--r--test/parallel/test-promises-unhandled-rejections.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-promises-unhandled-rejections.js b/test/parallel/test-promises-unhandled-rejections.js
index 3c7a403805..b827dd9e36 100644
--- a/test/parallel/test-promises-unhandled-rejections.js
+++ b/test/parallel/test-promises-unhandled-rejections.js
@@ -11,9 +11,9 @@ var asyncTest = (function() {
var currentTest = null;
function fail(error) {
- var stack = currentTest
- ? error.stack + '\nFrom previous event:\n' + currentTest.stack
- : error.stack;
+ var stack = currentTest ?
+ error.stack + '\nFrom previous event:\n' + currentTest.stack :
+ error.stack;
if (currentTest)
process.stderr.write('\'' + currentTest.description + '\' failed\n\n');