Merge "Fix unit test message to use 0-based index"

main
Tadashi G. Takaoka 2014-03-03 07:08:45 +00:00 committed by Android (Google) Code Review
commit f2b0829aa1
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");
} }