diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2018-02-16 11:17:48 -0800 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2018-02-16 11:17:48 -0800 |
commit | ce523c074fa03d47f6e8e9c96fa4afcf384deeb5 (patch) | |
tree | 9b7b31373510e66c811bb65eca90477dd5554e08 | |
parent | 1dedad5452aed1bb149320ce53540377c46e2825 (diff) | |
download | qtlocation-mapboxgl-ce523c074fa03d47f6e8e9c96fa4afcf384deeb5.tar.gz |
[ios, macos] whitespace
-rw-r--r-- | platform/darwin/test/MGLStyleTests.mm | 3 |
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); } |