summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2018-02-16 11:17:48 -0800
committerjmkiley <jordan.kiley@mapbox.com>2018-02-16 11:17:48 -0800
commitce523c074fa03d47f6e8e9c96fa4afcf384deeb5 (patch)
tree9b7b31373510e66c811bb65eca90477dd5554e08
parent1dedad5452aed1bb149320ce53540377c46e2825 (diff)
downloadqtlocation-mapboxgl-ce523c074fa03d47f6e8e9c96fa4afcf384deeb5.tar.gz
[ios, macos] whitespace
-rw-r--r--platform/darwin/test/MGLStyleTests.mm3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/darwin/test/MGLStyleTests.mm b/platform/darwin/test/MGLStyleTests.mm
index 3edfea377b..95051cfae0 100644
--- a/platform/darwin/test/MGLStyleTests.mm
+++ b/platform/darwin/test/MGLStyleTests.mm
@@ -127,12 +127,9 @@
NSError *versionedMethodError;
NSString *versionedMethodExpressionString = @(R"RE(^\+\s*\(NSURL\s*\*\s*\)\s*(?!traffic)\w+StyleURLWithVersion\s*:\s*\(\s*NSInteger\s*\)\s*version\s*\b)RE");
-
NSRegularExpression *versionedMethodExpression = [NSRegularExpression regularExpressionWithPattern:versionedMethodExpressionString options:NSRegularExpressionAnchorsMatchLines error:&versionedMethodError];
-
XCTAssertNil(versionedMethodError, @"Error compiling regular expression to search for versioned methods.");
NSUInteger numVersionedMethodDeclarations = [versionedMethodExpression numberOfMatchesInString:styleHeader options:0 range:NSMakeRange(0, styleHeader.length)];
-
XCTAssertEqual(numVersionedMethodDeclarations, numVersionedMethods);
}