From 582fc32574a3b158c81e49cb00e6ae59205e66ba Mon Sep 17 00:00:00 2001 From: Antonin Kral Date: Thu, 17 Mar 2011 00:05:43 +0100 Subject: Imported Upstream version 1.8.0 --- jstests/distinct_array1.js | 1 + 1 file changed, 1 insertion(+) (limited to 'jstests/distinct_array1.js') 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" ); -- cgit v1.2.3