summaryrefslogtreecommitdiff
path: root/jstests/core/geo_s2ordering.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo_s2ordering.js')
-rw-r--r--jstests/core/geo_s2ordering.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_s2ordering.js b/jstests/core/geo_s2ordering.js
index dc9f660ae6c..ecbfbc95782 100644
--- a/jstests/core/geo_s2ordering.js
+++ b/jstests/core/geo_s2ordering.js
@@ -27,7 +27,7 @@ function makepoints(needle) {
}
}
bulk.insert({nongeo: needle, geo: {type: "Point", coordinates: [0, 0]}});
- assert.writeOK(bulk.execute());
+ assert.commandWorked(bulk.execute());
}
function runTest(index) {