diff --git a/mediapipe/tasks/ios/test/text/language_detector/MPPLanguageDetectorTests.mm b/mediapipe/tasks/ios/test/text/language_detector/MPPLanguageDetectorTests.mm index ad0b0eb92a..725c88ccbd 100644 --- a/mediapipe/tasks/ios/test/text/language_detector/MPPLanguageDetectorTests.mm +++ b/mediapipe/tasks/ios/test/text/language_detector/MPPLanguageDetectorTests.mm @@ -114,8 +114,8 @@ - (void)testClassifyWithL2CModelSucceeds { @[ [[MPPLanguagePrediction alloc] initWithLanguageCode:@"ru" probability:0.9933616f] ]; [self assertResultsOfDetectLanguageOfText:ruText - usingLanguageDetector:languageDetector - approximatelyEqualsExpectedLanguagePredictions:expectedRuLanguagePredictions]; + usingLanguageDetector:languageDetector + approximatelyEqualsExpectedLanguagePredictions:expectedRuLanguagePredictions]; NSString *zhText = @"分久必合合久必分"; NSArray *expectedZhLanguagePredictions = @[