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/mr2.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/mr2.js')
-rw-r--r-- | jstests/core/mr2.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/jstests/core/mr2.js b/jstests/core/mr2.js index 0e3e087a378..21091c591b1 100644 --- a/jstests/core/mr2.js +++ b/jstests/core/mr2.js @@ -48,7 +48,7 @@ function f( who , res ){ } res = t.mapReduce( m , r , { finalize : f , out : "mr2_out" } ); -printjson( res ) +printjson( res ); x = reformat( res ); assert.eq( 9 , x.a.avg , "A1" ); assert.eq( 16 , x.b.avg , "A2" ); @@ -58,16 +58,16 @@ res.drop(); // inline does needs to exist - so set it to false to make sure the code is just checking for // existence res = t.mapReduce( m , r , { finalize : f , out : { inline : 0 } } ); -printjson( res ) +printjson( res ); x = reformat( res ); assert.eq( 9 , x.a.avg , "B1" ); assert.eq( 16 , x.b.avg , "B2" ); assert.eq( 18 , x.c.avg , "B3" ); res.drop(); -assert( ! ( "result" in res ) , "B4" ) +assert( ! ( "result" in res ) , "B4" ); res = t.mapReduce( m , r , { finalize : f , out : "mr2_out", jsMode: true } ); -printjson( res ) +printjson( res ); x = reformat( res ); assert.eq( 9 , x.a.avg , "A1" ); assert.eq( 16 , x.b.avg , "A2" ); @@ -75,11 +75,11 @@ assert.eq( 18 , x.c.avg , "A3" ); res.drop(); res = t.mapReduce( m , r , { finalize : f , out : { inline : 5 }, jsMode: true } ); -printjson( res ) +printjson( res ); x = reformat( res ); assert.eq( 9 , x.a.avg , "B1" ); assert.eq( 16 , x.b.avg , "B2" ); assert.eq( 18 , x.c.avg , "B3" ); res.drop(); -assert( ! ( "result" in res ) , "B4" ) +assert( ! ( "result" in res ) , "B4" ); |