summaryrefslogtreecommitdiff
path: root/jstests/apitest_dbcollection.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/apitest_dbcollection.js')
-rw-r--r--jstests/apitest_dbcollection.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/apitest_dbcollection.js b/jstests/apitest_dbcollection.js
index f6e74da..0983b06 100644
--- a/jstests/apitest_dbcollection.js
+++ b/jstests/apitest_dbcollection.js
@@ -55,7 +55,7 @@ if( v.ns != "test.test_db" ) {
assert (v.ns == "test.test_db",9);
assert (v.ok == 1,10);
-assert(v.result.toString().match(/nrecords\?:(\d+)/)[1] == 100,11);
+assert.eq(100,v.nrecords,11)
/*
* test deleteIndex, deleteIndexes