Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for new getIndexes

  • Loading branch information...
commit abb74ac6fee0f4da92919031d13aa5fa527382f9 1 parent f565f7b
@erh erh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 jstests/index3.js
View
4 jstests/index3.js
@@ -3,7 +3,7 @@
t = db.index3;
t.drop();
-assert( t.getIndexes().length() == 0 );
+assert( t.getIndexes().length == 0 );
t.ensureIndex( { name : 1 } );
@@ -11,6 +11,6 @@ t.save( { name : "a" } );
t.ensureIndex( { name : 1 } );
-assert( t.getIndexes().length() == 2 );
+assert( t.getIndexes().length == 2 );
assert(t.validate().valid);
Please sign in to comment.
Something went wrong with that request. Please try again.