diff options
Diffstat (limited to 'jstests/aggregation/bugs/server25590.js')
-rw-r--r-- | jstests/aggregation/bugs/server25590.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/aggregation/bugs/server25590.js b/jstests/aggregation/bugs/server25590.js index b478f806029..89dd16ac9a3 100644 --- a/jstests/aggregation/bugs/server25590.js +++ b/jstests/aggregation/bugs/server25590.js @@ -6,7 +6,7 @@ const coll = db.server25590; coll.drop(); -assert.writeOK(coll.insert({})); +assert.commandWorked(coll.insert({})); assert.commandFailedWithCode(db.runCommand({aggregate: coll.getName(), pipeline: 1}), ErrorCodes.TypeMismatch); |