diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-05-06 16:41:34 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-05-06 16:41:34 -0400 |
commit | 123a48efc030e608a868bcad921076c692d51782 (patch) | |
tree | b6a5c1a3c9f4aba7323a5fe32813792d27663f7e /jstests/apitest_dbcollection.js | |
parent | 038b2c4b5a16c5c63542b8a99eb0f9e4bc56d5cf (diff) | |
download | mongo-123a48efc030e608a868bcad921076c692d51782.tar.gz |
more debuging MINOR
Diffstat (limited to 'jstests/apitest_dbcollection.js')
-rw-r--r-- | jstests/apitest_dbcollection.js | 2 |
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}); |