Permalink
Browse files

SERVER-2829 change data type to make test work with v8 implementation…

… as well
  • Loading branch information...
1 parent 8ebc664 commit f7970605970fe778d7d616a5aebf59fdf28fb32e @astaple astaple committed Mar 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jstests/in8.js
View
@@ -11,7 +11,7 @@ function doTest() {
assert.eq( 1, t.count( {key:[1]} ) );
assert.eq( 1, t.count( {key:{$in:[[1]]}} ) );
assert.eq( 1, t.count( {key:{$in:[[1]],$ne:[2]}} ) );
- assert.eq( 1, t.count( {key:{$in:[[1]],$type:1}} ) );
+ assert.eq( 1, t.count( {key:{$in:[['1']],$type:2}} ) );
assert.eq( 1, t.count( {key:['1']} ) );
assert.eq( 1, t.count( {key:{$in:[['1']]}} ) );
assert.eq( 1, t.count( {key:[2]} ) );

0 comments on commit f797060

Please sign in to comment.