diff options
author | Brendan Ashworth <brendan.ashworth@me.com> | 2015-08-18 16:32:07 -0700 |
---|---|---|
committer | Brendan Ashworth <brendan.ashworth@me.com> | 2015-08-22 18:01:53 -0700 |
commit | 8af5962608311676a89a0d287cde8e97c9d37fcc (patch) | |
tree | c00b112b8ba8f5b0d0890210e0f00bdcaa2cc60a /test/internet | |
parent | b125ad186c1a29b5633ad1dd6a5bbe804bf33842 (diff) | |
download | nodejs-8af5962608311676a89a0d287cde8e97c9d37fcc.tar.gz nodejs-8af5962608311676a89a0d287cde8e97c9d37fcc.tar.bz2 nodejs-8af5962608311676a89a0d287cde8e97c9d37fcc.zip |
test: add spaces after keywords
eg changes:
if(x) { ... }
to:
if (x) { ... }
Diffstat (limited to 'test/internet')
-rw-r--r-- | test/internet/test-dgram-broadcast-multi-process.js | 2 | ||||
-rw-r--r-- | test/internet/test-dns.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/internet/test-dgram-broadcast-multi-process.js b/test/internet/test-dgram-broadcast-multi-process.js index 4cf5d7226..c1ca04aa5 100644 --- a/test/internet/test-dgram-broadcast-multi-process.js +++ b/test/internet/test-dgram-broadcast-multi-process.js @@ -18,7 +18,7 @@ var common = require('../common'), // take the first non-internal interface as the address for binding get_bindAddress: for (var name in networkInterfaces) { var interfaces = networkInterfaces[name]; - for(var i = 0; i < interfaces.length; i++) { + for (var i = 0; i < interfaces.length; i++) { var localInterface = interfaces[i]; if (!localInterface.internal && localInterface.family === 'IPv4') { var bindAddress = localInterface.address; diff --git a/test/internet/test-dns.js b/test/internet/test-dns.js index eb7bab854..796fd26c0 100644 --- a/test/internet/test-dns.js +++ b/test/internet/test-dns.js @@ -663,7 +663,7 @@ TEST(function test_resolve_failure(done) { var req = dns.resolve4('nosuchhostimsure', function(err) { assert(err instanceof Error); - switch(err.code) { + switch (err.code) { case 'ENOTFOUND': case 'ESERVFAIL': break; |