mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
fix tests affected by change in equality testing re #2388
This commit is contained in:
@@ -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;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user