summaryrefslogtreecommitdiff
path: root/jstests/core
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-02-12 13:50:21 -0500
committerMike Grundy <michael.grundy@10gen.com>2016-02-19 05:50:29 -0500
commit2aeae1ee0f91fba6c4f5a6fff6a8bfd26e1600d5 (patch)
treec603731c3d578dc4c52fb2bacba6984f78d3b118 /jstests/core
parent70db6ed51f90f627570de9bf32ab8c5cd23886ca (diff)
downloadmongo-2aeae1ee0f91fba6c4f5a6fff6a8bfd26e1600d5.tar.gz
SERVER-22597 Fix minor javascript errors found by eslint
Diffstat (limited to 'jstests/core')
-rw-r--r--jstests/core/arrayfind8.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/core/arrayfind8.js b/jstests/core/arrayfind8.js
index 7845bf38f72..e74093d9457 100644
--- a/jstests/core/arrayfind8.js
+++ b/jstests/core/arrayfind8.js
@@ -1,12 +1,13 @@
// Matching behavior for $elemMatch applied to a top level element.
// SERVER-1264
// SERVER-4180
+var debuggingEnabled = false;
t = db.jstests_arrayfind8;
t.drop();
function debug( x ) {
- if ( debuggingEnabled = false ) {
+ if ( debuggingEnabled ) {
printjson( x );
}
}