Fix unit test message to use 0-based index

Change-Id: I2c91628d21dc96712f6cbea996f28f5d39fb402e
main
Tadashi G. Takaoka 2014-03-03 12:39:53 +09:00
parent 858045b41c
commit d648d066ea
1 changed files with 1 additions and 1 deletions

View File

@ -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");
} }