diff options
author | Jason Wray <jason@mapbox.com> | 2019-06-12 15:33:27 -0700 |
---|---|---|
committer | Jason Wray <friedbunny@users.noreply.github.com> | 2019-06-24 16:52:17 -0700 |
commit | 290a9fcad57c92a01e2a401df07fea3d7dfacf08 (patch) | |
tree | 4433574a3ff70f6107a7602985f6f1ab1e7add46 /platform/ios | |
parent | 22741891c180d23ac5d593ac4503a532a4068722 (diff) | |
download | qtlocation-mapboxgl-290a9fcad57c92a01e2a401df07fea3d7dfacf08.tar.gz |
[darwin] Add warning about certain tests requiring en_US locale
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/test/MGLMapAccessibilityElementTests.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/ios/test/MGLMapAccessibilityElementTests.m b/platform/ios/test/MGLMapAccessibilityElementTests.m index 916461e708..2312d1d406 100644 --- a/platform/ios/test/MGLMapAccessibilityElementTests.m +++ b/platform/ios/test/MGLMapAccessibilityElementTests.m @@ -8,6 +8,11 @@ @implementation MGLMapAccessibilityElementTests +- (void)setUp { + // FIXME: https://github.com/mapbox/mapbox-gl-native/issues/14908 + XCTAssertEqualObjects(NSLocale.currentLocale.localeIdentifier, @"en_US", @"Device locale must be en_US for these tests to pass."); +} + - (void)testFeatureLabels { MGLPointFeature *feature = [[MGLPointFeature alloc] init]; feature.attributes = @{ |