diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2019-10-10 15:08:05 -0700 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2019-10-10 15:08:05 -0700 |
commit | cb9b29aa09d82844f276305a748a411eb85c67cb (patch) | |
tree | 370441998986c34e9266fe049c3508a48f423af1 | |
parent | 81aa9b63a7575fce825277639588b1c10fc31051 (diff) | |
download | qtlocation-mapboxgl-cb9b29aa09d82844f276305a748a411eb85c67cb.tar.gz |
[ios] try
-rw-r--r-- | platform/darwin/test/MGLDocumentationExampleTests.swift | 2 |
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) |