Remove trailing whitespace

This commit is contained in:
John Firebaugh 2015-02-06 16:36:27 -08:00
parent 2925be1112
commit e52c551652

View File

@ -33,18 +33,18 @@ describe('LineUtil', function () {
expect(segment).to.be(false); expect(segment).to.be(false);
}); });
it('can round numbers in clipped bounds', function () { it('can round numbers in clipped bounds', function () {
var a = new L.Point(4, 5); var a = new L.Point(4, 5);
var b = new L.Point(8, 6); var b = new L.Point(8, 6);
var segment1 = L.LineUtil.clipSegment(a, b, bounds); var segment1 = L.LineUtil.clipSegment(a, b, bounds);
expect(segment1[0]).to.eql(new L.Point(5, 5.25)); expect(segment1[0]).to.eql(new L.Point(5, 5.25));
expect(segment1[1]).to.eql(b); expect(segment1[1]).to.eql(b);
var segment2 = L.LineUtil.clipSegment(a, b, bounds, false, true); var segment2 = L.LineUtil.clipSegment(a, b, bounds, false, true);
expect(segment2[0]).to.eql(new L.Point(5, 5)); expect(segment2[0]).to.eql(new L.Point(5, 5));
expect(segment2[1]).to.eql(b); expect(segment2[1]).to.eql(b);
}); });