From 3de43ffb0e0aadd067669cf711e0747c0ae15317 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Wed, 12 Jul 2023 09:42:26 +0200 Subject: [PATCH] Fix failing test (#1351) Co-authored-by: Julian Bissekkou <36447137+JulianBissekkou@users.noreply.github.com> --- platform/ios/platform/darwin/test/MLNStyleLayerTests.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/ios/platform/darwin/test/MLNStyleLayerTests.m b/platform/ios/platform/darwin/test/MLNStyleLayerTests.m index e343c56b7..a00f5d7d5 100644 --- a/platform/ios/platform/darwin/test/MLNStyleLayerTests.m +++ b/platform/ios/platform/darwin/test/MLNStyleLayerTests.m @@ -44,6 +44,11 @@ return; } + // not recognized as verb + if ([components.lastObject isEqualToString:@"antialiased"]) { + return; + } + if (![components.lastObject.lexicalClasses containsObject:NSLinguisticTagAdjective]) { XCTAssertTrue([components.lastObject.lexicalClasses containsObject:NSLinguisticTagVerb], @"Boolean getter %@ that starts with “is” should contain an adjective, past participle, or verb.", name);