diff options
Diffstat (limited to 'platform/darwin/test/MGLCompassDirectionFormatterTests.m')
-rw-r--r-- | platform/darwin/test/MGLCompassDirectionFormatterTests.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/darwin/test/MGLCompassDirectionFormatterTests.m b/platform/darwin/test/MGLCompassDirectionFormatterTests.m index c4ccc6ac4f..cd3aaebab7 100644 --- a/platform/darwin/test/MGLCompassDirectionFormatterTests.m +++ b/platform/darwin/test/MGLCompassDirectionFormatterTests.m @@ -7,6 +7,11 @@ @implementation MGLCompassDirectionFormatterTests +- (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)testCompassDirections { MGLCompassDirectionFormatter *shortFormatter = [[MGLCompassDirectionFormatter alloc] init]; shortFormatter.unitStyle = NSFormattingUnitStyleShort; |