summaryrefslogtreecommitdiff
path: root/test/parallel/test-readline-interface.js
diff options
context:
space:
mode:
authorSebastiaan Deckers <sebdeckers83@gmail.com>2017-07-10 20:55:21 -0400
committerRefael Ackermann <refack@gmail.com>2017-07-21 15:13:47 -0400
commitbb294059040def8e8c0b1719cc17f6537ab5cb39 (patch)
treeacc6b7bcf88da8e6078fa5ab91f6718289f32bbf /test/parallel/test-readline-interface.js
parent4f875222445b07016a8294fa5a5bf7418c735489 (diff)
downloadandroid-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.gz
android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.bz2
android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.zip
lib,src: fix consistent spacing inside braces
PR-URL: https://github.com/nodejs/node/pull/14162 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-readline-interface.js')
-rw-r--r--test/parallel/test-readline-interface.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-readline-interface.js b/test/parallel/test-readline-interface.js
index 25cd738bf2..9ce978b86e 100644
--- a/test/parallel/test-readline-interface.js
+++ b/test/parallel/test-readline-interface.js
@@ -57,7 +57,7 @@ function isWarned(emitter) {
{
// Minimum crlfDelay is 100ms
const fi = new FakeInput();
- const rli = new readline.Interface({ input: fi, output: fi, crlfDelay: 0});
+ const rli = new readline.Interface({ input: fi, output: fi, crlfDelay: 0 });
assert.strictEqual(rli.crlfDelay, 100);
rli.close();
}
@@ -91,7 +91,7 @@ function isWarned(emitter) {
// default history size 30
fi = new FakeInput();
- rli = new readline.Interface({ input: fi, output: fi, terminal: terminal});
+ rli = new readline.Interface({ input: fi, output: fi, terminal: terminal });
assert.strictEqual(rli.historySize, 30);
fi.emit('data', 'asdf\n');
@@ -515,7 +515,7 @@ function isWarned(emitter) {
//can create a new readline Interface with a null output arugument
fi = new FakeInput();
- rli = new readline.Interface({input: fi, output: null, terminal: terminal });
+ rli = new readline.Interface({ input: fi, output: null, terminal: terminal });
called = false;
rli.on('line', function(line) {