diff options
author | Jason Wray <jason@mapbox.com> | 2019-06-12 15:33:27 -0700 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2019-06-12 15:34:08 -0700 |
commit | 4f113cade635363a1b865bafd707c7daf95f29f5 (patch) | |
tree | afb8d82937327007f4de06122de237a1b0610150 /platform/ios/test/MGLMapAccessibilityElementTests.m | |
parent | 6b7d3a16c0e626d2f999e8358c4a0da2af75de87 (diff) | |
download | qtlocation-mapboxgl-upstream/friedbunny-adds-unit-test-locale-fixmes.tar.gz |
[darwin] Add warning about certain tests requiring en_US localeupstream/friedbunny-adds-unit-test-locale-fixmes
Diffstat (limited to 'platform/ios/test/MGLMapAccessibilityElementTests.m')
-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 = @{ |