Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kientzle committed Jun 23, 2015
1 parent 8633f3a commit 039f9c8
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions libarchive/test/test_read_format_zip_utf8_paths.c
Expand Up @@ -45,20 +45,20 @@ verify(struct archive *a) {
for (file = 0; file < 20; ++file) {
assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae));
assert((wp = archive_entry_pathname_w(ae)) != NULL);
if (wp) {
for (i = 0; wp[i] != 0; ++i) {
if (wp[i] == '2') {
failure("Unicode 'o with umlaut' expected");
assertEqualInt(wp[i + 4], 0xF6);
} else if (wp[i] == '3') {
failure("Unicode 'a with umlaut' expected");
assertEqualInt(wp[i + 4], 0xE4);
} else if (wp[i] == '4') {
failure("Unicode 'a with ring' expected");
assertEqualInt(wp[i + 4], 0xE5);
}
}
}
if (wp) {
for (i = 0; wp[i] != 0; ++i) {
if (wp[i] == '2') {
failure("Unicode 'o with umlaut' expected");
assertEqualInt(wp[i + 4], 0xF6);
} else if (wp[i] == '3') {
failure("Unicode 'a with umlaut' expected");
assertEqualInt(wp[i + 4], 0xE4);
} else if (wp[i] == '4') {
failure("Unicode 'a with ring' expected");
assertEqualInt(wp[i + 4], 0xE5);
}
}
}
}
assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae));
}
Expand Down

0 comments on commit 039f9c8

Please sign in to comment.