[ios, macos] Fixed unit test compilation error

Read and discard the local variable value to suppress the error. This variable is only a behind-the-scenes stand-in for an instance property.
This commit is contained in:
Minh Nguyễn
2020-04-06 09:20:52 -07:00
committed by Minh Nguyễn
parent 93890681af
commit 928f37f1f3

View File

@@ -480,6 +480,7 @@ class MGLDocumentationExampleTests: XCTestCase, MGLMapViewDelegate {
//#-end-example-code
wait(for: [expectation], timeout: 5)
_ = image
}
func testMGLCluster() {