diff options
author | Eliot Horowitz <eliot@10gen.com> | 2013-05-19 19:44:29 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2013-05-19 19:44:29 -0400 |
commit | 705872c7e387f65a15d4c24163627f65b50be21d (patch) | |
tree | 1a51544d87bd60b35322eb623d1c1e767645c812 /jstests/arrayfind5.js | |
parent | 65c12e6fe156a6e64515a5a6b6ede6bccfb81ca7 (diff) | |
download | mongo-705872c7e387f65a15d4c24163627f65b50be21d.tar.gz |
SERVER-6400: This switches from MatcherOld to Matcher2
This commit also has all semantic changes encompassed in this switch
Diffstat (limited to 'jstests/arrayfind5.js')
-rw-r--r-- | jstests/arrayfind5.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/arrayfind5.js b/jstests/arrayfind5.js index 083dc0622c8..9ff6e2b8a5f 100644 --- a/jstests/arrayfind5.js +++ b/jstests/arrayfind5.js @@ -6,7 +6,7 @@ t.drop(); function check( nullElemMatch ) { assert.eq( 1, t.find( {'a.b':1} ).itcount() ); assert.eq( 1, t.find( {a:{$elemMatch:{b:1}}} ).itcount() ); - assert.eq( 0, t.find( {'a.b':null} ).itcount() ); + assert.eq( nullElemMatch ? 1 : 0 , t.find( {'a.b':null} ).itcount() ); assert.eq( nullElemMatch ? 1 : 0, t.find( {a:{$elemMatch:{b:null}}} ).itcount() ); // see SERVER-3377 } |