From 4be37a4f670de878752d397a22cbbee27e5ddacb Mon Sep 17 00:00:00 2001 From: "Michael S. Klishin" Date: Sun, 16 Oct 2011 15:54:09 +0400 Subject: [PATCH] Formatting --- test/monger/test/collection.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/monger/test/collection.clj b/test/monger/test/collection.clj index 17db479..deb74d3 100644 --- a/test/monger/test/collection.clj +++ b/test/monger/test/collection.clj @@ -505,13 +505,13 @@ (let [collection "widgets" mapper "function() { - emit(this.state, this.price * this.quantity) + emit(this.state, this.price * this.quantity) }" reducer "function(key, values) { - var result = 0; - values.forEach(function(v) { result += v }); + var result = 0; + values.forEach(function(v) { result += v }); - return result; + return result; }" batch [{ :state "CA" :quantity 1 :price 199.00 } { :state "NY" :quantity 2 :price 199.00 }