diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-09-24 15:40:59 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-09-24 15:40:59 -0400 |
commit | 0d8b5981ff7a3df062cfa5839e292718b61911c2 (patch) | |
tree | 76e8051d2522eac10f5b480035a61b89e0b02849 /jstests/pull_remove1.js | |
parent | f8da5e06860a0d5e0fd7b5637fcc748127cfbcc3 (diff) | |
download | mongo-0d8b5981ff7a3df062cfa5839e292718b61911c2.tar.gz |
fix pull with primitives and $ops SERVER-1697
Diffstat (limited to 'jstests/pull_remove1.js')
-rw-r--r-- | jstests/pull_remove1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/pull_remove1.js b/jstests/pull_remove1.js index af4f28f1ff2..379f3f2832b 100644 --- a/jstests/pull_remove1.js +++ b/jstests/pull_remove1.js @@ -10,5 +10,5 @@ assert.eq( o , t.findOne() , "A1" ) o.a = o.a.filter( function(z){ return z >= 6; } ) t.update( {} , { $pull : { a : { $lt : 6 } } } ) -//assert.eq( o.a , t.findOne().a , "A2" ) +assert.eq( o.a , t.findOne().a , "A2" ) |