mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
SERVER-1003 fix test syntax
This commit is contained in:
parent
2e64af288e
commit
b2830ef270
@ -28,7 +28,7 @@ t.drop();
|
||||
t.save( {a:[0,1],b:[0,1]} );
|
||||
assert.eq( 1, t.find( { $or: [ { a: {$in:[0,1]}} ] } ).toArray().length );
|
||||
assert.eq( 1, t.find( { $or: [ { b: {$in:[0,1]}} ] } ).toArray().length );
|
||||
assert.eq( 1, t.find( { $or: [ { a: {$in:[0,1]}}, { b: {$in:[0,1]}} } ] } ).toArray().length );
|
||||
assert.eq( 1, t.find( { $or: [ { a: {$in:[0,1]}}, { b: {$in:[0,1]}} ] } ).toArray().length );
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user