summaryrefslogtreecommitdiff
path: root/jstests/core/validate_cmd_ns.js
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-06-20 17:07:59 -0400
committerMathias Stearn <mathias@10gen.com>2017-06-28 11:57:04 -0400
commit227c848b6ab7055e56745705eb708af40bb73320 (patch)
tree41aea1604d61742f793f7738947fa9561257a4f5 /jstests/core/validate_cmd_ns.js
parente3fe73454a6e558fc61c19456510d5f93152721d (diff)
downloadmongo-227c848b6ab7055e56745705eb708af40bb73320.tar.gz
SERVER-18292 Re-enable tests tagged with SERVER-18292
Diffstat (limited to 'jstests/core/validate_cmd_ns.js')
-rw-r--r--jstests/core/validate_cmd_ns.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/validate_cmd_ns.js b/jstests/core/validate_cmd_ns.js
index 93f4a798a61..f5f706335ad 100644
--- a/jstests/core/validate_cmd_ns.js
+++ b/jstests/core/validate_cmd_ns.js
@@ -7,15 +7,15 @@
// Note: _exec gives you the raw response from the server.
var res = db.$cmd.find({whatsmyuri: 1})._exec().next();
assert.commandFailed(res);
-assert(res.errmsg.indexOf('bad numberToReturn') > -1);
+assert(res.errmsg.indexOf('Bad numberToReturn') > -1);
res = db.$cmd.find({whatsmyuri: 1}).limit(0)._exec().next();
assert.commandFailed(res);
-assert(res.errmsg.indexOf('bad numberToReturn') > -1);
+assert(res.errmsg.indexOf('Bad numberToReturn') > -1);
res = db.$cmd.find({whatsmyuri: 1}).limit(-2)._exec().next();
assert.commandFailed(res);
-assert(res.errmsg.indexOf('bad numberToReturn') > -1);
+assert(res.errmsg.indexOf('Bad numberToReturn') > -1);
res = db.$cmd.find({whatsmyuri: 1}).limit(1).next();
assert.commandWorked(res);