From a2703f10c83ee3ca70bc34226cf06669a59d7041 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Tue, 28 Oct 2014 21:49:31 -0400 Subject: [PATCH] fix tests affected by change in equality testing re #2388 --- test/spec/geo/extent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/spec/geo/extent.js b/test/spec/geo/extent.js index 1cbeba94d..fb880548e 100644 --- a/test/spec/geo/extent.js +++ b/test/spec/geo/extent.js @@ -101,11 +101,11 @@ describe("iD.geo.Extent", function () { it("extends self to the minimal extent containing self and the given extent", function () { var e = iD.geo.Extent(); e._extend([[0, 0], [5, 10]]); - expect(e).to.eql([[0, 0], [5, 10]]); + expect(e.equals([[0, 0], [5, 10]])).to.be.ok; e = iD.geo.Extent([0, 0], [0, 0]); e._extend([[4, -1], [5, 10]]); - expect(e).to.eql([[0, -1], [5, 10]]); + expect(e.equals([[0, -1], [5, 10]])).to.be.ok; }); });