Fix unit test message to use 0-based index

Change-Id: I2c91628d21dc96712f6cbea996f28f5d39fb402e
This commit is contained in:
Tadashi G. Takaoka 2014-03-03 12:39:53 +09:00
parent 858045b41c
commit d648d066ea

View file

@ -84,7 +84,7 @@ public class KeyboardLayoutSetTestsBase extends AndroidTestCase {
final StringBuilder sb = new StringBuilder();
for (int index = 0; index < subtypeList.size(); index++) {
final InputMethodSubtype subtype = subtypeList.get(index);
sb.append((index + 1) + ": ");
sb.append(index + ": ");
sb.append(SubtypeLocaleUtils.getSubtypeNameForLogging(subtype));
sb.append("\n");
}