diff options
author | Mike Grundy <michael.grundy@10gen.com> | 2016-02-04 12:29:01 -0500 |
---|---|---|
committer | Mike Grundy <michael.grundy@10gen.com> | 2016-02-09 13:41:02 -0500 |
commit | 3bed8596d18275d1561e4f44f1f0bd72c1e038f1 (patch) | |
tree | 788eaed3c7a692a424f080d16a8841dc8afa3c13 /jstests/core/exists.js | |
parent | 985e2a0be95709ac064c57f0a9bb385a55937285 (diff) | |
download | mongo-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/exists.js')
-rw-r--r-- | jstests/core/exists.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/jstests/core/exists.js b/jstests/core/exists.js index 3f1e904e52f..e41a7cfde04 100644 --- a/jstests/core/exists.js +++ b/jstests/core/exists.js @@ -32,12 +32,12 @@ function dotest( n ){ assert.eq( 4, t.count( {'a.b.c.d': {$exists:false}} ) , n ); } -dotest( "before index" ) -t.ensureIndex( { "a" : 1 } ) -t.ensureIndex( { "a.b" : 1 } ) -t.ensureIndex( { "a.b.c" : 1 } ) -t.ensureIndex( { "a.b.c.d" : 1 } ) -dotest( "after index" ) +dotest( "before index" ); +t.ensureIndex( { "a" : 1 } ); +t.ensureIndex( { "a.b" : 1 } ); +t.ensureIndex( { "a.b.c" : 1 } ); +t.ensureIndex( { "a.b.c.d" : 1 } ); +dotest( "after index" ); assert.eq( 1, t.find( {a: {$exists:false}} ).hint( {a:1} ).itcount() ); t.drop(); |