summaryrefslogtreecommitdiff
path: root/test/internet/test-dns.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/internet/test-dns.js')
-rw-r--r--test/internet/test-dns.js2
1 files changed, 1 insertions, 1 deletions
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;