summaryrefslogtreecommitdiff
path: root/src/mongo/shell/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/utils.js')
-rw-r--r--src/mongo/shell/utils.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/shell/utils.js b/src/mongo/shell/utils.js
index a658e3f9a57..76cdd64bc77 100644
--- a/src/mongo/shell/utils.js
+++ b/src/mongo/shell/utils.js
@@ -66,6 +66,10 @@ assert = function( b , msg ){
doassert( msg == undefined ? "assert failed" : "assert failed : " + msg );
}
+// the mongo code uses verify
+// so this is to be nice to mongo devs
+verify = assert;
+
assert.automsg = function( b ) {
assert( eval( b ), b );
}