diff --git a/test/ios/MapViewTests.m b/test/ios/MapViewTests.m index 2213c0168f1..dd0034ae098 100644 --- a/test/ios/MapViewTests.m +++ b/test/ios/MapViewTests.m @@ -219,9 +219,10 @@ - (void)testZoomSet { tester.mapView.zoomLevel = newZoom; - __KIFAssertEqual(tester.mapView.zoomLevel, - newZoom, - @"setting zoom should take effect"); + XCTAssertEqualWithAccuracy(tester.mapView.zoomLevel, + newZoom, + 0.01, + @"setting zoom should take effect"); } - (void)testTopLayoutGuide {