summaryrefslogtreecommitdiff
path: root/jstests/core/indexa.js
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-02-04 12:29:01 -0500
committerMike Grundy <michael.grundy@10gen.com>2016-02-09 13:41:02 -0500
commit3bed8596d18275d1561e4f44f1f0bd72c1e038f1 (patch)
tree788eaed3c7a692a424f080d16a8841dc8afa3c13 /jstests/core/indexa.js
parent985e2a0be95709ac064c57f0a9bb385a55937285 (diff)
downloadmongo-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/indexa.js')
-rw-r--r--jstests/core/indexa.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/indexa.js b/jstests/core/indexa.js
index 7602183adb2..73da14fc8bc 100644
--- a/jstests/core/indexa.js
+++ b/jstests/core/indexa.js
@@ -15,7 +15,7 @@ assert.eq( 2 , t.count() , "indexa 1" );
t.update( {x:'B'}, { x:'A' } );
a = t.find().toArray();
-u = Array.unique( a.map( function(z){ return z.x } ) );
+u = Array.unique( a.map( function(z){ return z.x; } ) );
assert.eq( 2 , t.count() , "indexa 2" );
assert( a.length == u.length , "unique index update is broken" );