summaryrefslogtreecommitdiff
path: root/jstests/core/geo_polygon2.js
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2014-03-14 15:21:49 -0400
committerGreg Studer <greg@10gen.com>2014-03-18 15:26:25 -0400
commit6ee3a36bdb672e0e7b893a77334e932d8d1eab8c (patch)
treeccc6bc72f2925ca398ddfd5f22f2e3840aa63d65 /jstests/core/geo_polygon2.js
parent4184de903c4b5bb3f698d93aa607dd06756dfe40 (diff)
downloadmongo-6ee3a36bdb672e0e7b893a77334e932d8d1eab8c.tar.gz
SERVER-13057 push shell write errors more in line with other drivers
Diffstat (limited to 'jstests/core/geo_polygon2.js')
-rw-r--r--jstests/core/geo_polygon2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_polygon2.js b/jstests/core/geo_polygon2.js
index c626064f153..26477651a06 100644
--- a/jstests/core/geo_polygon2.js
+++ b/jstests/core/geo_polygon2.js
@@ -247,7 +247,7 @@ for ( var test = 0; test < numTests; test++ ) {
}
var res = t.ensureIndex({ loc: "2d" }, { bits: 1 + bits, max: bounds[1], min: bounds[0] });
- assert.writeOK( res );
+ assert.commandWorked( res );
t.insert( { loc : allPointsIn } );
t.insert( { loc : allPointsOut } );