summaryrefslogtreecommitdiff
path: root/jstests/core/geo_polygon1_noindex.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo_polygon1_noindex.js')
-rw-r--r--jstests/core/geo_polygon1_noindex.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_polygon1_noindex.js b/jstests/core/geo_polygon1_noindex.js
index d9831a6990c..5f43f736b45 100644
--- a/jstests/core/geo_polygon1_noindex.js
+++ b/jstests/core/geo_polygon1_noindex.js
@@ -45,7 +45,7 @@ pacman = [
[2, 0] // Bottom
];
-assert.writeOK(t.save({loc: [1, 3]})); // Add a point that's in
+assert.commandWorked(t.save({loc: [1, 3]})); // Add a point that's in
assert.eq(1, t.find({loc: {$within: {$polygon: pacman}}}).count(), "Pacman single point");