Fix unit test message to use 0-based index
Change-Id: I2c91628d21dc96712f6cbea996f28f5d39fb402emain
parent
858045b41c
commit
d648d066ea
|
@ -84,7 +84,7 @@ public class KeyboardLayoutSetTestsBase extends AndroidTestCase {
|
||||||
final StringBuilder sb = new StringBuilder();
|
final StringBuilder sb = new StringBuilder();
|
||||||
for (int index = 0; index < subtypeList.size(); index++) {
|
for (int index = 0; index < subtypeList.size(); index++) {
|
||||||
final InputMethodSubtype subtype = subtypeList.get(index);
|
final InputMethodSubtype subtype = subtypeList.get(index);
|
||||||
sb.append((index + 1) + ": ");
|
sb.append(index + ": ");
|
||||||
sb.append(SubtypeLocaleUtils.getSubtypeNameForLogging(subtype));
|
sb.append(SubtypeLocaleUtils.getSubtypeNameForLogging(subtype));
|
||||||
sb.append("\n");
|
sb.append("\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue