diff options
Diffstat (limited to 'jstests/distinct1.js')
-rw-r--r-- | jstests/distinct1.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/distinct1.js b/jstests/distinct1.js index 5e47400..1b9354f 100644 --- a/jstests/distinct1.js +++ b/jstests/distinct1.js @@ -25,3 +25,4 @@ t.save( { a : { b : "c" } , c : 12 } ); res = t.distinct( "a.b" ); assert.eq( "a,b,c" , res.toString() , "B1" ); +assert.eq( "BasicCursor" , t._distinct( "a.b" ).stats.cursor , "B2" ) |