summaryrefslogtreecommitdiff
path: root/jstests/insert_id_undefined.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/insert_id_undefined.js')
-rw-r--r--jstests/insert_id_undefined.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/jstests/insert_id_undefined.js b/jstests/insert_id_undefined.js
deleted file mode 100644
index 945640a815b..00000000000
--- a/jstests/insert_id_undefined.js
+++ /dev/null
@@ -1,6 +0,0 @@
-// ensure a document with _id undefined cannot be saved
-t = db.insert_id_undefined;
-t.drop();
-t.insert({_id:undefined});
-db.getLastError();
-assert.eq(t.count(), 0);