diff options
author | Mike Grundy <michael.grundy@10gen.com> | 2016-02-04 12:30:06 -0500 |
---|---|---|
committer | Mike Grundy <michael.grundy@10gen.com> | 2016-02-16 17:37:31 -0500 |
commit | ad078fb9aa7ed6102059006cc722739699fe6f03 (patch) | |
tree | 4d223ab524323b46edcb72b821ac83242888417c /jstests/noPassthroughWithMongod/clonecollection.js | |
parent | 07d7b4520943ff3e6fd2f7221b944e8ce6669878 (diff) | |
download | mongo-ad078fb9aa7ed6102059006cc722739699fe6f03.tar.gz |
SERVER-22341 fix jslint errors in jstests/noPassthroughWithMongod with eslint --fix
(cherry picked from commit 8ca7124defb9a617281e4e557fd811c66ee0ef82)
Diffstat (limited to 'jstests/noPassthroughWithMongod/clonecollection.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/clonecollection.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthroughWithMongod/clonecollection.js b/jstests/noPassthroughWithMongod/clonecollection.js index 9e55ac16e5b..022ef58f595 100644 --- a/jstests/noPassthroughWithMongod/clonecollection.js +++ b/jstests/noPassthroughWithMongod/clonecollection.js @@ -30,8 +30,8 @@ if ( t.a.getIndexes().length != 2 ) { } assert.eq( 2, t.a.getIndexes().length, "expected index missing" ); // Verify index works -x = t.a.find( { i: 50 } ).hint( { i: 1 } ).explain("executionStats") -printjson( x ) +x = t.a.find( { i: 50 } ).hint( { i: 1 } ).explain("executionStats"); +printjson( x ); assert.eq( 1, x.executionStats.nReturned , "verify 1" ); assert.eq( 1, t.a.find( { i: 50 } ).hint( { i: 1 } ).toArray().length, "match length did not match expected" ); |