From 94bfef0c7ebea3890f9f86c2fd110f90fc0588bf Mon Sep 17 00:00:00 2001 From: jaumeortola Date: Sat, 11 Jan 2025 16:37:36 +0100 Subject: [PATCH] fix PT test --- .../src/test/java/org/languagetool/LanguageAnnotatorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languagetool-standalone/src/test/java/org/languagetool/LanguageAnnotatorTest.java b/languagetool-standalone/src/test/java/org/languagetool/LanguageAnnotatorTest.java index 7bf4e330c412..1206a15be7bd 100644 --- a/languagetool-standalone/src/test/java/org/languagetool/LanguageAnnotatorTest.java +++ b/languagetool-standalone/src/test/java/org/languagetool/LanguageAnnotatorTest.java @@ -37,7 +37,7 @@ public class LanguageAnnotatorTest { public void testGetTokensWithPotentialLanguages() { LanguageAnnotator annotator = new LanguageAnnotator(); List tokens = annotator.getTokensWithPotentialLanguages("Der große Haus.", en, deList); - assertThat(tokens.toString(), is("[Der/de-DE, , große, , Haus/de-DE, .]")); // TODO: why no lang for 'große'? + assertThat(tokens.toString(), is("[Der/en-US/de-DE, , große, , Haus/de-DE, .]")); // TODO: why no lang for 'große'? List tokens2 = annotator.getTokensWithPotentialLanguages("This is a new bicycle.", en, deList); assertThat(tokens2.toString(), is("[This/en-US, , is/en-US, , a/en-US/de-DE, , new/en-US, , bicycle/en-US, .]")); }