Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix for new getIndexes

  • Loading branch information...
commit abb74ac6fee0f4da92919031d13aa5fa527382f9 1 parent f565f7b
Eliot erh authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 jstests/index3.js
4 jstests/index3.js
@@ -3,7 +3,7 @@
3 3 t = db.index3;
4 4 t.drop();
5 5
6   -assert( t.getIndexes().length() == 0 );
  6 +assert( t.getIndexes().length == 0 );
7 7
8 8 t.ensureIndex( { name : 1 } );
9 9
@@ -11,6 +11,6 @@ t.save( { name : "a" } );
11 11
12 12 t.ensureIndex( { name : 1 } );
13 13
14   -assert( t.getIndexes().length() == 2 );
  14 +assert( t.getIndexes().length == 2 );
15 15
16 16 assert(t.validate().valid);

0 comments on commit abb74ac

Please sign in to comment.
Something went wrong with that request. Please try again.