Fix clip test after geoOptions change.

This commit is contained in:
Alex Roitman 2020-04-08 14:26:27 -07:00
parent f02dee3db2
commit 1dd1af268a
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ func TestClipPolygon2(t *testing.T) {
},
}
polygon := PPO(exterior, holes)
clipped := Clip(polygon, RO(1.1, 0.8, 1.15, 2.1))
clipped := Clip(polygon, RO(1.1, 0.8, 1.15, 2.1), nil)
cp, ok := clipped.(*geojson.Polygon)
if !ok {
t.Fatal("wrong type")