summaryrefslogtreecommitdiff
path: root/jstests/all2.js
diff options
context:
space:
mode:
authorAaron Staple <aaron@10gen.com>2009-08-03 16:26:18 -0400
committerAaron Staple <aaron@10gen.com>2009-08-03 16:26:18 -0400
commitd91bb3a5650494ad8c52e487bc9c7f75fe7c07a2 (patch)
treea296806b44a0aa423cc726d350e2156250324288 /jstests/all2.js
parent652323c67c1b864e3ee8e48cda832ed71a874b00 (diff)
downloadmongo-d91bb3a5650494ad8c52e487bc9c7f75fe7c07a2.tar.gz
more flexible $all matching
Diffstat (limited to 'jstests/all2.js')
-rw-r--r--jstests/all2.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/jstests/all2.js b/jstests/all2.js
index 147fb082614..a1c5a0b7345 100644
--- a/jstests/all2.js
+++ b/jstests/all2.js
@@ -17,7 +17,6 @@ check( 2 , { "a.x" : { $in : [ 1 , 2 ] } } , "C" );
check( 3 , { "a.x" : { $in : [ 2 , 3 ] } } , "D" );
check( 3 , { "a.x" : { $in : [ 1 , 3 ] } } , "E" );
-// TODO SERVER-187
-//check( 1 , { "a.x" : { all : [ 1 , 2 ] } } , "F" );
-//check( 1 , { "a.x" : { all : [ 2 , 3 ] } } , "G" );
-//check( 0 , { "a.x" : { all : [ 1 , 3 ] } } , "H" );
+check( 1 , { "a.x" : { $all : [ 1 , 2 ] } } , "F" );
+check( 1 , { "a.x" : { $all : [ 2 , 3 ] } } , "G" );
+check( 0 , { "a.x" : { $all : [ 1 , 3 ] } } , "H" );