summaryrefslogtreecommitdiff
path: root/test/parallel/test-cluster-worker-kill.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-cluster-worker-kill.js')
-rw-r--r--test/parallel/test-cluster-worker-kill.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/parallel/test-cluster-worker-kill.js b/test/parallel/test-cluster-worker-kill.js
index ad06ff0978..38e2deb155 100644
--- a/test/parallel/test-cluster-worker-kill.js
+++ b/test/parallel/test-cluster-worker-kill.js
@@ -111,9 +111,8 @@ function checkResults(expected_results, results) {
const actual = results[k];
const expected = expected_results[k];
- assert.strictEqual(actual,
- expected && expected.length ? expected[0] : expected,
- (expected[1] || '') +
- ` [expected: ${expected[0]} / actual: ${actual}]`);
+ assert.strictEqual(
+ actual, expected && expected.length ? expected[0] : expected,
+ `${expected[1] || ''} [expected: ${expected[0]} / actual: ${actual}]`);
}
}