summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2011-08-09 04:33:24 +0000
committerAaron <aaron@10gen.com>2011-08-09 04:34:15 +0000
commitfd441b9d08fc0ffcab3bbee0499c90ca20e2d9fb (patch)
tree1aea50944e9d2e2d0089ff075c95527c921cec3a
parent5598fe195b1ed70bfd83523457198793595df64b (diff)
downloadmongo-fd441b9d08fc0ffcab3bbee0499c90ca20e2d9fb.tar.gz
SERVER-3545 fix test typos
-rw-r--r--jstests/ina.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/ina.js b/jstests/ina.js
index ebfa9235ca2..cf614ab994d 100644
--- a/jstests/ina.js
+++ b/jstests/ina.js
@@ -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