summaryrefslogtreecommitdiff
path: root/jstests/apitest_dbcollection.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-05-06 16:41:34 -0400
committerEliot Horowitz <eliot@10gen.com>2009-05-06 16:41:34 -0400
commit123a48efc030e608a868bcad921076c692d51782 (patch)
treeb6a5c1a3c9f4aba7323a5fe32813792d27663f7e /jstests/apitest_dbcollection.js
parent038b2c4b5a16c5c63542b8a99eb0f9e4bc56d5cf (diff)
downloadmongo-123a48efc030e608a868bcad921076c692d51782.tar.gz
more debuging MINOR
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 76210f96590..775912b1fc5 100644
--- a/jstests/apitest_dbcollection.js
+++ b/jstests/apitest_dbcollection.js
@@ -84,7 +84,7 @@ db.getCollection( "test_db" ).save({a:10});
assert(db.getCollection( "test_db" ).getIndexes().length() == 2,17);
db.getCollection( "test_db" ).dropIndex("a_1");
-assert(db.getCollection( "test_db" ).getIndexes().length() == 1,18);
+assert.eq( db.getCollection( "test_db" ).getIndexes().length() , 1,18);
db.getCollection( "test_db" ).save({a:10, b:11});
db.getCollection( "test_db" ).ensureIndex({a:1});