summaryrefslogtreecommitdiff
path: root/jstests/core/basic6.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/basic6.js')
-rw-r--r--jstests/core/basic6.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/jstests/core/basic6.js b/jstests/core/basic6.js
new file mode 100644
index 00000000000..e0cd6f1586e
--- /dev/null
+++ b/jstests/core/basic6.js
@@ -0,0 +1,8 @@
+
+t = db.basic6;
+
+t.findOne();
+t.a.findOne();
+
+assert.eq( "test.basic6" , t.toString() );
+assert.eq( "test.basic6.a" , t.a.toString() );