summaryrefslogtreecommitdiff
path: root/test/simple/test-http-cat.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple/test-http-cat.js')
-rw-r--r--test/simple/test-http-cat.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/simple/test-http-cat.js b/test/simple/test-http-cat.js
index 5bb778d0d1..21bef3ca25 100644
--- a/test/simple/test-http-cat.js
+++ b/test/simple/test-http-cat.js
@@ -27,10 +27,10 @@ server.listen(PORT, function () {
});
http.cat("http://localhost:12312/", "utf8", function (err, content) {
- if (err) {
+ if (err) {
console.log("got error (this should happen)");
bad_server_got_error = true;
- }
+ }
});
});