summaryrefslogtreecommitdiff
path: root/jstests/core/grow_hash_table.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/grow_hash_table.js')
-rw-r--r--jstests/core/grow_hash_table.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/grow_hash_table.js b/jstests/core/grow_hash_table.js
index da6fdcc004c..783616b93fb 100644
--- a/jstests/core/grow_hash_table.js
+++ b/jstests/core/grow_hash_table.js
@@ -25,7 +25,7 @@ var doTest = function(count) {
}
// Store the document
- assert.writeOK(testDB.collection.insert(doc));
+ assert.commandWorked(testDB.collection.insert(doc));
// Try to read the document using a large projection
try {