diff options
Diffstat (limited to 'contrib/libarchive/libarchive/test/test_read_format_tbz.c')
-rw-r--r-- | contrib/libarchive/libarchive/test/test_read_format_tbz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libarchive/libarchive/test/test_read_format_tbz.c b/contrib/libarchive/libarchive/test/test_read_format_tbz.c index 0871a6a..7113318 100644 --- a/contrib/libarchive/libarchive/test/test_read_format_tbz.c +++ b/contrib/libarchive/libarchive/test/test_read_format_tbz.c @@ -51,7 +51,7 @@ DEFINE_TEST(test_read_format_tbz) archive_read_open_memory(a, archive, sizeof(archive))); assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); assertEqualInt(1, archive_file_count(a)); - assertEqualInt(archive_compression(a), ARCHIVE_COMPRESSION_BZIP2); + assertEqualInt(archive_filter_code(a, 0), ARCHIVE_FILTER_BZIP2); assertEqualInt(archive_format(a), ARCHIVE_FORMAT_TAR_USTAR); assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); assertEqualInt(ARCHIVE_OK, archive_read_free(a)); |