summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLResourceTests.mm
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2020-01-20 22:45:02 -0800
committerjmkiley <jordan.kiley@mapbox.com>2020-01-20 22:45:02 -0800
commitdc834040b5da85e8f881851fa0ee63bfa7f5f1d8 (patch)
treec9cffba1cec95272d4528a0e6a7d2e3171685746 /platform/darwin/test/MGLResourceTests.mm
parent028e324b3266a6108163d325c30b830a35b90b4d (diff)
downloadqtlocation-mapboxgl-dc834040b5da85e8f881851fa0ee63bfa7f5f1d8.tar.gz
[ios, macos] update tests
Diffstat (limited to 'platform/darwin/test/MGLResourceTests.mm')
-rw-r--r--platform/darwin/test/MGLResourceTests.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/test/MGLResourceTests.mm b/platform/darwin/test/MGLResourceTests.mm
index eb8cf849e1..17e070ed68 100644
--- a/platform/darwin/test/MGLResourceTests.mm
+++ b/platform/darwin/test/MGLResourceTests.mm
@@ -60,11 +60,11 @@ namespace mbgl {
for (NSURLQueryItem *item in components.queryItems) {
if (([item.name isEqualToString:@"offline"] && [item.value isEqualToString:@"true"]) ||
([item.name isEqualToString:@"a"] && [item.value isEqualToString:@"one"]) ||
- ([item.name isEqualToString:@"b"] && [item.value isEqualToString:@"two"])) {
+ ([item.name isEqualToString:@"b"] && [item.value isEqualToString:@"two"]) || [item.name isEqualToString:@"sku"])) {
foundCount++;
}
- XCTAssert(foundCount == 3);
+ XCTAssert(foundCount == 4);
#else
// NOTE: Currently the macOS SDK does not supply the sku or offline query parameters
for (NSURLQueryItem *item in components.queryItems) {