summaryrefslogtreecommitdiff
path: root/jstests/capped6.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/capped6.js')
-rw-r--r--jstests/capped6.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/capped6.js b/jstests/capped6.js
index 6579807..098f667 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();