Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SERVER-3545 fix test typos

  • Loading branch information...
commit fd441b9d08fc0ffcab3bbee0499c90ca20e2d9fb 1 parent 5598fe1
astaple astaple authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 jstests/ina.js
4 jstests/ina.js
View
@@ -4,10 +4,10 @@ t = db.jstests_ina;
t.drop();
t.save( {} );
-assert.throws( function() { t.( {a:{$in:[{$elemMatch:{b:1}}]}} ).itcount(); } );
+assert.throws( function() { t.find( {a:{$in:[{$elemMatch:{b:1}}]}} ).itcount(); } );
assert.throws( function() { t.find( {a:{$not:{$in:[{$elemMatch:{b:1}}]}}} ).itcount(); } );
-assert.throws( function() { t.( {a:{$nin:[{$elemMatch:{b:1}}]}} ).itcount(); } );
+assert.throws( function() { t.find( {a:{$nin:[{$elemMatch:{b:1}}]}} ).itcount(); } );
assert.throws( function() { t.find( {a:{$not:{$nin:[{$elemMatch:{b:1}}]}}} ).itcount(); } );
// NOTE Above we don't check cases like {b:2,$elemMatch:{b:3,4}} - generally
Please sign in to comment.
Something went wrong with that request. Please try again.