summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLStyleTests.mm
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2016-12-07 10:47:06 -0800
committerGitHub <noreply@github.com>2016-12-07 10:47:06 -0800
commit497953c34e401fc268b59fd80c34855838873596 (patch)
treef8ffc462f0a6313772535bc1ef97c88c49d93c5c /platform/darwin/test/MGLStyleTests.mm
parent508f020eb5f8665e9cb53fb319440216d134e299 (diff)
downloadqtlocation-mapboxgl-497953c34e401fc268b59fd80c34855838873596.tar.gz
[ios, macos] Fix typo in exception name for style source identifier (#7315)
Diffstat (limited to 'platform/darwin/test/MGLStyleTests.mm')
-rw-r--r--platform/darwin/test/MGLStyleTests.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/test/MGLStyleTests.mm b/platform/darwin/test/MGLStyleTests.mm
index bc1e6078f0..ae55951fd9 100644
--- a/platform/darwin/test/MGLStyleTests.mm
+++ b/platform/darwin/test/MGLStyleTests.mm
@@ -139,7 +139,7 @@
MGLVectorSource *source2 = [[MGLVectorSource alloc] initWithIdentifier:@"my-source" URL:[NSURL URLWithString:@"mapbox://mapbox.mapbox-terrain-v2"]];
[self.style addSource: source1];
- XCTAssertThrowsSpecificNamed([self.style addSource: source2], NSException, @"MGLRedundantSourceIdentiferException");
+ XCTAssertThrowsSpecificNamed([self.style addSource: source2], NSException, @"MGLRedundantSourceIdentifierException");
}
- (void)testAddingLayersTwice {