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-16 17:34:38 -0500 |
commit | a86f395f51280f36d96217cbd593784fb2327196 (patch) | |
tree | 969881cfa0bc84dbf7c32bb032af81495af35d83 /jstests/core/distinct1.js | |
parent | f068a5843808618d8cdf300a37b3ff9c69bba934 (diff) | |
download | mongo-a86f395f51280f36d96217cbd593784fb2327196.tar.gz |
SERVER-22341 fix jslint errors in jstests/core with eslint --fix
(cherry picked from commit 3bed8596d18275d1561e4f44f1f0bd72c1e038f1)
Conflicts:
jstests/core/geo_update_btree2.js
jstests/core/update_min_max_examples.js
jstests/core/update_mul_examples.js
Diffstat (limited to 'jstests/core/distinct1.js')
-rw-r--r-- | jstests/core/distinct1.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/jstests/core/distinct1.js b/jstests/core/distinct1.js index 2224d19bb4e..779f5a12ba1 100644 --- a/jstests/core/distinct1.js +++ b/jstests/core/distinct1.js @@ -4,11 +4,11 @@ t.drop(); assert.eq( 0 , t.distinct( "a" ).length , "test empty" ); -t.save( { a : 1 } ) -t.save( { a : 2 } ) -t.save( { a : 2 } ) -t.save( { a : 2 } ) -t.save( { a : 3 } ) +t.save( { a : 1 } ); +t.save( { a : 2 } ); +t.save( { a : 2 } ); +t.save( { a : 2 } ); +t.save( { a : 3 } ); res = t.distinct( "a" ); @@ -26,7 +26,7 @@ t.save( { a : { b : "c" } , c : 12 } ); res = t.distinct( "a.b" ); assert.eq( "a,b,c" , res.toString() , "B1" ); printjson(t._distinct( "a.b" ).stats); -assert.eq( "COLLSCAN" , t._distinct( "a.b" ).stats.planSummary , "B2" ) +assert.eq( "COLLSCAN" , t._distinct( "a.b" ).stats.planSummary , "B2" ); t.drop(); |