aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/utils/LanguageOnSpacebarUtilsTests.java
diff options
context:
space:
mode:
authorDan Zivkovic <zivkovic@google.com>2015-03-11 16:11:50 -0700
committerDan Zivkovic <zivkovic@google.com>2015-03-11 17:29:12 -0700
commit107fb4c476779df16be23e245547253978c197ac (patch)
treeeda7c85d72b7fa74efd8a489c1319958a9309e19 /tests/src/com/android/inputmethod/latin/utils/LanguageOnSpacebarUtilsTests.java
parent9a289da4e6ea40417422a540e821069d5d6e4a82 (diff)
downloadlatinime-107fb4c476779df16be23e245547253978c197ac.tar.gz
latinime-107fb4c476779df16be23e245547253978c197ac.tar.xz
latinime-107fb4c476779df16be23e245547253978c197ac.zip
Remove ALS from LatinIME.
This fixes unit tests and brings us closer to a green build. Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/utils/LanguageOnSpacebarUtilsTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/utils/LanguageOnSpacebarUtilsTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/utils/LanguageOnSpacebarUtilsTests.java b/tests/src/com/android/inputmethod/latin/utils/LanguageOnSpacebarUtilsTests.java
index 7f7f493b1..e4b6a668c 100644
--- a/tests/src/com/android/inputmethod/latin/utils/LanguageOnSpacebarUtilsTests.java
+++ b/tests/src/com/android/inputmethod/latin/utils/LanguageOnSpacebarUtilsTests.java
@@ -94,7 +94,7 @@ public class LanguageOnSpacebarUtilsTests extends AndroidTestCase {
final boolean implicitlyEnabledSubtype, final Locale systemLocale,
final int expectedFormat) {
LanguageOnSpacebarUtils.onSubtypeChanged(subtype, implicitlyEnabledSubtype, systemLocale);
- assertEquals(subtype.getLocales()[0] + " implicitly=" + implicitlyEnabledSubtype
+ assertEquals(subtype.getLocale() + " implicitly=" + implicitlyEnabledSubtype
+ " in " + systemLocale, expectedFormat,
LanguageOnSpacebarUtils.getLanguageOnSpacebarFormatType(subtype));
}