summaryrefslogtreecommitdiff
path: root/test/parallel/test-repl-domain.js
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2016-12-08 10:27:05 +0100
committerMichaël Zasso <targos@protonmail.com>2016-12-10 10:46:42 +0100
commit4d11c2ce5ce9406fddf6397b03967b2f755e3b5c (patch)
tree1ba244999ec4a882b4b2a87be525ff7de8a1ab6b /test/parallel/test-repl-domain.js
parent0cd1f54fab3f35c6f53a6106cd9b5299c2c67413 (diff)
downloadandroid-node-v8-4d11c2ce5ce9406fddf6397b03967b2f755e3b5c.tar.gz
android-node-v8-4d11c2ce5ce9406fddf6397b03967b2f755e3b5c.tar.bz2
android-node-v8-4d11c2ce5ce9406fddf6397b03967b2f755e3b5c.zip
lib,test: use consistent operator linebreak style
We have a tacit rule that for multiline statements, the operator should be placed before the linebreak. This commit commit fixes the few violations of this rule in the code base. This allows us to enable the corresponding ESLint rule. PR-URL: https://github.com/nodejs/node/pull/10178 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'test/parallel/test-repl-domain.js')
-rw-r--r--test/parallel/test-repl-domain.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-repl-domain.js b/test/parallel/test-repl-domain.js
index 9f66f30639..3cc88b75f7 100644
--- a/test/parallel/test-repl-domain.js
+++ b/test/parallel/test-repl-domain.js
@@ -18,6 +18,6 @@ putIn.write = function(data) {
};
putIn.run([
- 'require("domain").create().on("error", function() { console.log("OK") })'
- + '.run(function() { throw new Error("threw") })'
+ 'require("domain").create().on("error", function() { console.log("OK") })' +
+ '.run(function() { throw new Error("threw") })'
]);