diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2020-01-20 22:45:02 -0800 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2020-01-20 22:45:02 -0800 |
commit | dc834040b5da85e8f881851fa0ee63bfa7f5f1d8 (patch) | |
tree | c9cffba1cec95272d4528a0e6a7d2e3171685746 | |
parent | 028e324b3266a6108163d325c30b830a35b90b4d (diff) | |
download | qtlocation-mapboxgl-dc834040b5da85e8f881851fa0ee63bfa7f5f1d8.tar.gz |
[ios, macos] update tests
-rw-r--r-- | platform/darwin/test/MGLResourceTests.mm | 4 |
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) { |