diff options
author | mike o'brien <mpobrien005@gmail.com> | 2014-09-25 13:33:41 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2014-09-25 13:55:21 -0400 |
commit | 3cda046b1d3910114eeb593c8e4705eec95393b3 (patch) | |
tree | 351a55f78ec98d18cdc407ab9b9a4a0a3617d2f8 | |
parent | 5377321f964fdd98782b61943d90e828192d1b85 (diff) | |
download | mongo-3cda046b1d3910114eeb593c8e4705eec95393b3.tar.gz |
SERVER-15397 don't use strict order comparison in tsv1.js test
Closes #796
Signed-off-by: Benety Goh <benety@mongodb.com>
-rw-r--r-- | jstests/tool/tsv1.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/tool/tsv1.js b/jstests/tool/tsv1.js index 1b0ddbb7c9e..8ea59dc68a5 100644 --- a/jstests/tool/tsv1.js +++ b/jstests/tool/tsv1.js @@ -13,8 +13,8 @@ a = c.find().sort( { a : 1 } ).toArray(); delete a[0]._id delete a[1]._id -assert.eq( { a : "a" , b : "b" , c : "c" , d: "d", e: "e"} , a[1] , "tsv parse 1" ); -assert.eq( base , a[0] , "tsv parse 0" ) +assert.docEq( { a : "a" , b : "b" , c : "c" , d: "d", e: "e"} , a[1] , "tsv parse 1" ); +assert.docEq( base , a[0] , "tsv parse 0" ) c.drop() assert.eq( 0 , c.count() , "after drop 2" ) |