summaryrefslogtreecommitdiff
path: root/jstests/mr2.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-01-04 01:52:54 -0500
committerEliot Horowitz <eliot@10gen.com>2011-01-04 01:52:54 -0500
commitd5d2da55dead65ac9dc225b23698d90998bc7560 (patch)
treef54438d503d66550cf8bdb9475a329ce95f49e70 /jstests/mr2.js
parentff53fe31ab72e8cd61b70950d3b35a741d73d53f (diff)
downloadmongo-d5d2da55dead65ac9dc225b23698d90998bc7560.tar.gz
if using inline mr, don't put an empty "result" SERVER-2311
Diffstat (limited to 'jstests/mr2.js')
-rw-r--r--jstests/mr2.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/mr2.js b/jstests/mr2.js
index d55906e31a9..709c3051d03 100644
--- a/jstests/mr2.js
+++ b/jstests/mr2.js
@@ -63,4 +63,5 @@ assert.eq( 16 , x.b.avg , "B2" );
assert.eq( 18 , x.c.avg , "B3" );
res.drop();
+assert( ! ( "result" in res ) , "B4" )