summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLOfflineRegionTests.m
diff options
context:
space:
mode:
authorJason Wray <friedbunny@users.noreply.github.com>2018-08-09 13:35:28 -0400
committerGitHub <noreply@github.com>2018-08-09 13:35:28 -0400
commitec7b920603299f66332df3b324ed481c732b3657 (patch)
tree4561cda90d0a1a75f84f72f3a077a6e6b954c92b /platform/darwin/test/MGLOfflineRegionTests.m
parenta378d6fc9b71d5a40750158c5f7c475669408052 (diff)
downloadqtlocation-mapboxgl-ec7b920603299f66332df3b324ed481c732b3657.tar.gz
[ios] Standardize exception definitions
Diffstat (limited to 'platform/darwin/test/MGLOfflineRegionTests.m')
-rw-r--r--platform/darwin/test/MGLOfflineRegionTests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/test/MGLOfflineRegionTests.m b/platform/darwin/test/MGLOfflineRegionTests.m
index ff079fe798..da9928741b 100644
--- a/platform/darwin/test/MGLOfflineRegionTests.m
+++ b/platform/darwin/test/MGLOfflineRegionTests.m
@@ -14,7 +14,7 @@
XCTAssertEqualObjects(region.styleURL, [MGLStyle streetsStyleURLWithVersion:MGLStyleDefaultVersion], @"Streets isn’t the default style.");
NSURL *localURL = [NSURL URLWithString:@"beautiful.style"];
- XCTAssertThrowsSpecificNamed([[MGLTilePyramidOfflineRegion alloc] initWithStyleURL:localURL bounds:bounds fromZoomLevel:0 toZoomLevel:DBL_MAX], NSException, @"Invalid style URL", @"No exception raised when initializing region with a local file URL as the style URL.");
+ XCTAssertThrowsSpecificNamed([[MGLTilePyramidOfflineRegion alloc] initWithStyleURL:localURL bounds:bounds fromZoomLevel:0 toZoomLevel:DBL_MAX], NSException, MGLInvalidStyleURLException, @"No exception raised when initializing region with a local file URL as the style URL.");
}
- (void)testEquality {