Index: chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/QueryInOmniboxTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/QueryInOmniboxTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/QueryInOmniboxTest.java |
index eefff10ad59f5265b13ef11eb85044c72e435d7c..ff800b8a026a30ecc32b8162f32d96168b5ed01c 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/QueryInOmniboxTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/QueryInOmniboxTest.java |
@@ -35,6 +35,7 @@ import org.chromium.chrome.test.util.TestHttpServerClient; |
import org.chromium.content.browser.test.util.KeyUtils; |
import java.util.List; |
+import java.util.Locale; |
import java.util.Map; |
import java.util.concurrent.Callable; |
import java.util.concurrent.atomic.AtomicInteger; |
@@ -202,7 +203,7 @@ public class QueryInOmniboxTest extends ChromeActivityTestCaseBase<ChromeActivit |
* @throws InterruptedException |
*/ |
private void setupAutocompleteSuggestions(final String term) throws InterruptedException { |
- final String suggestionFor = term.toLowerCase(); |
+ final String suggestionFor = term.toLowerCase(Locale.US); |
Map<String, List<SuggestionsResult>> suggestionsMap = buildSuggestionMap( |
new TestSuggestionResultsBuilder() |
.setTextShownFor(suggestionFor) |