diff options
Diffstat (limited to 'jstests/core/geo_s2twofields.js')
-rw-r--r-- | jstests/core/geo_s2twofields.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_s2twofields.js b/jstests/core/geo_s2twofields.js index c50ca3c46b5..2e225c8cef6 100644 --- a/jstests/core/geo_s2twofields.js +++ b/jstests/core/geo_s2twofields.js @@ -31,7 +31,7 @@ for (var i = 0; i < maxPoints; ++i) { {from: {type: "Point", coordinates: fromCoord}, to: {type: "Point", coordinates: toCoord}}); } res = t.insert(arr); -assert.writeOK(res); +assert.commandWorked(res); assert.eq(t.count(), maxPoints); function semiRigorousTime(func) { |