summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <friedbunny@users.noreply.github.com>2019-07-09 12:53:23 -0700
committerGitHub <noreply@github.com>2019-07-09 12:53:23 -0700
commit155e2e853983b50a9c0cdcb37a403ebcd082003b (patch)
treebf6c62e8c5cf044088707c9600047b34698f99c1
parent6a494d348f5d4d34cdcd4fe885f0cccb84d2d1e6 (diff)
downloadqtlocation-mapboxgl-upstream/Stephen-CJK.tar.gz
Apply own suggestions from code reviewupstream/Stephen-CJK
-rw-r--r--platform/darwin/test/MGLRendererConfigurationTests.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/darwin/test/MGLRendererConfigurationTests.mm b/platform/darwin/test/MGLRendererConfigurationTests.mm
index 8d4142a149..6483aa3587 100644
--- a/platform/darwin/test/MGLRendererConfigurationTests.mm
+++ b/platform/darwin/test/MGLRendererConfigurationTests.mm
@@ -78,14 +78,12 @@ static NSString * const MGLRendererConfigurationTests_collisionBehaviorKey = @"M
}
- (void)testOverridingMGLCollisionBehaviorPre40 {
-
// Dictionary = NO, NSUserDefaults = YES
{
[[NSUserDefaults standardUserDefaults] setObject:@(YES) forKey:MGLRendererConfigurationTests_collisionBehaviorKey];
MGLRendererConfiguration *config = [[MGLRendererConfiguration alloc] initWithPropertyDictionary:@{MGLRendererConfigurationTests_collisionBehaviorKey:@(NO)}];
XCTAssert(config.perSourceCollisions);
}
-
// Dictionary = YES, NSUserDefaults = NO
{
[[NSUserDefaults standardUserDefaults] setObject:@(NO) forKey:MGLRendererConfigurationTests_collisionBehaviorKey];