summaryrefslogtreecommitdiff
path: root/jstests/core/basicb.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/basicb.js')
-rw-r--r--jstests/core/basicb.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/core/basicb.js b/jstests/core/basicb.js
new file mode 100644
index 00000000000..95eb60151af
--- /dev/null
+++ b/jstests/core/basicb.js
@@ -0,0 +1,6 @@
+
+t = db.basicb;
+t.drop();
+
+assert.throws( function() { t.insert( { '$a' : 5 } ); });
+