summaryrefslogtreecommitdiff
path: root/jstests/core/counta.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/counta.js')
-rw-r--r--jstests/core/counta.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/counta.js b/jstests/core/counta.js
index 94e5889b1fe..eadec40f4a1 100644
--- a/jstests/core/counta.js
+++ b/jstests/core/counta.js
@@ -14,6 +14,6 @@ assert.throws(
} );
// count must return error if collection name is absent
-res=db.runCommand("count")
-assert.eq(res.ok, 0) // must not be OK
-assert(res.code == 2) // should fail with errorcode("BadValue"), not an massert
+res=db.runCommand("count");
+assert.eq(res.ok, 0); // must not be OK
+assert(res.code == 2); // should fail with errorcode("BadValue"), not an massert