From 6856722b1ed940799fa627506d210e5f0a309227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Sat, 13 Aug 2016 00:40:27 -0700 Subject: [ios, macos] Fixed incorrect assignment in style layer tests Fixes #5992. --- platform/darwin/test/MGLStyleLayerTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform') diff --git a/platform/darwin/test/MGLStyleLayerTests.m b/platform/darwin/test/MGLStyleLayerTests.m index ae0a59edd3..b16bcfed56 100644 --- a/platform/darwin/test/MGLStyleLayerTests.m +++ b/platform/darwin/test/MGLStyleLayerTests.m @@ -5,7 +5,7 @@ - (void)setUp { [super setUp]; #if TARGET_OS_IPHONE - UIApplication *app = [[UIApplication sharedApplication] delegate]; + UIApplication *app = [UIApplication sharedApplication]; UIViewController *vc = [[UIViewController alloc] init]; app.keyWindow.rootViewController = vc; [vc view]; // Force load xib -- cgit v1.2.1