diff options
Diffstat (limited to 'jstests/distinct_array1.js')
-rw-r--r-- | jstests/distinct_array1.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/distinct_array1.js b/jstests/distinct_array1.js index 0d41b80..f654dba 100644 --- a/jstests/distinct_array1.js +++ b/jstests/distinct_array1.js @@ -21,4 +21,5 @@ t.save( { a : [] , c : 12 } ); t.save( { a : { b : "z"} , c : 12 } ); res = t.distinct( "a.b" ); +res.sort() assert.eq( "a,b,c,d,e,f,z" , res.toString() , "B1" ); |