summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2019-10-10 15:08:05 -0700
committerjmkiley <jordan.kiley@mapbox.com>2019-10-10 15:08:05 -0700
commitcb9b29aa09d82844f276305a748a411eb85c67cb (patch)
tree370441998986c34e9266fe049c3508a48f423af1
parent81aa9b63a7575fce825277639588b1c10fc31051 (diff)
downloadqtlocation-mapboxgl-cb9b29aa09d82844f276305a748a411eb85c67cb.tar.gz
[ios] try
-rw-r--r--platform/darwin/test/MGLDocumentationExampleTests.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/test/MGLDocumentationExampleTests.swift b/platform/darwin/test/MGLDocumentationExampleTests.swift
index c049b8106e..f409de5b4a 100644
--- a/platform/darwin/test/MGLDocumentationExampleTests.swift
+++ b/platform/darwin/test/MGLDocumentationExampleTests.swift
@@ -585,7 +585,7 @@ class MGLDocumentationExampleTests: XCTestCase, MGLMapViewDelegate {
]
let clusterShapeData = try! JSONSerialization.data(withJSONObject: geoJSON, options: [])
- let shape = MGLShape(data: clusterShapeData, encoding: String.Encoding.utf8.rawValue)
+ let shape = try! MGLShape(data: clusterShapeData, encoding: String.Encoding.utf8.rawValue)
let source = MGLShapeSource(identifier: "source", shape: shape, options: options)
mapView.style?.addSource(source)