summaryrefslogtreecommitdiff
path: root/jstests/core/capped6.js
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-02-04 12:29:01 -0500
committerMike Grundy <michael.grundy@10gen.com>2016-02-09 13:41:02 -0500
commit3bed8596d18275d1561e4f44f1f0bd72c1e038f1 (patch)
tree788eaed3c7a692a424f080d16a8841dc8afa3c13 /jstests/core/capped6.js
parent985e2a0be95709ac064c57f0a9bb385a55937285 (diff)
downloadmongo-3bed8596d18275d1561e4f44f1f0bd72c1e038f1.tar.gz
SERVER-22341 fix jslint errors in jstests/core with eslint --fix
Conflicts: jstests/core/count_hint.js
Diffstat (limited to 'jstests/core/capped6.js')
-rw-r--r--jstests/core/capped6.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/capped6.js b/jstests/core/capped6.js
index d85e93e6781..e643c77760d 100644
--- a/jstests/core/capped6.js
+++ b/jstests/core/capped6.js
@@ -77,7 +77,7 @@
count -= (n + inc);
valueArrayCurIndex -= (n + inc);
checkOrder(valueArrayCurIndex, valueArray);
- };
+ }
// We return the index of the next document that should be inserted into the capped
// collection, which would be the document after valueArrayCurIndex.
return valueArrayCurIndex + 1;
@@ -100,5 +100,5 @@
// Same test as above, but now the newer documents take less space than the
// older documents instead of more.
- doTest(true)
+ doTest(true);
})();