diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-08-05 18:47:17 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-08-05 18:47:17 -0400 |
commit | bd1ed814176784d24ba5ab8041280e48374d98bf (patch) | |
tree | 0a3c13f8829f8c0da3a096b310dc097046a96100 /jstests/capped6.js | |
parent | d2092af24507de48d496354eedf8e190abf7b7e1 (diff) | |
download | mongo-bd1ed814176784d24ba5ab8041280e48374d98bf.tar.gz |
fix capped test
Diffstat (limited to 'jstests/capped6.js')
-rw-r--r-- | jstests/capped6.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/capped6.js b/jstests/capped6.js index 65798075208..098f667732f 100644 --- a/jstests/capped6.js +++ b/jstests/capped6.js @@ -52,7 +52,7 @@ var max = 0; */ function doTest() { for( var i = max; i < oldMax; ++i ) { - tzz.save( val[ i ] ); + tzz.insert( val[ i ] ); } max = oldMax; count = tzz.count(); |