diff options
author | David Bradford <david.bradford@mongodb.com> | 2018-02-15 15:23:13 -0500 |
---|---|---|
committer | David Bradford <david.bradford@mongodb.com> | 2018-02-15 15:23:13 -0500 |
commit | caf6f27ec26a5b0d325e2fcbad39d0239f798a43 (patch) | |
tree | efc13713365866c58e0ea0fd99c56448dcc4923c /jstests/core/geo_s2exact.js | |
parent | 6bd287f8805027ae88f2d22df0bb1af3b6d6753b (diff) | |
download | mongo-caf6f27ec26a5b0d325e2fcbad39d0239f798a43.tar.gz |
SERVER-33034: Fix tests with bad assertions
Diffstat (limited to 'jstests/core/geo_s2exact.js')
-rw-r--r-- | jstests/core/geo_s2exact.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/geo_s2exact.js b/jstests/core/geo_s2exact.js index 3acd5b68969..2c8571c0830 100644 --- a/jstests/core/geo_s2exact.js +++ b/jstests/core/geo_s2exact.js @@ -4,9 +4,9 @@ t.drop(); function test(geometry) { t.insert({geo: geometry}); - assert.eq(1, t.find({geo: geometry}).itcount(), geometry); + assert.eq(1, t.find({geo: geometry}).itcount(), tojson(geometry)); t.ensureIndex({geo: "2dsphere"}); - assert.eq(1, t.find({geo: geometry}).itcount(), geometry); + assert.eq(1, t.find({geo: geometry}).itcount(), tojson(geometry)); t.dropIndex({geo: "2dsphere"}); } |