diff options
Diffstat (limited to 'libarchive/test/test_read_format_tgz.c')
-rw-r--r-- | libarchive/test/test_read_format_tgz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/test/test_read_format_tgz.c b/libarchive/test/test_read_format_tgz.c index f852677..60985a0 100644 --- a/libarchive/test/test_read_format_tgz.c +++ b/libarchive/test/test_read_format_tgz.c @@ -51,8 +51,8 @@ DEFINE_TEST(test_read_format_tgz) archive_read_open_memory(a, archive, sizeof(archive))); assertEqualInt(ARCHIVE_OK, archive_read_next_header(a, &ae)); assertEqualInt(1, archive_file_count(a)); - assertEqualInt(archive_compression(a), - ARCHIVE_COMPRESSION_GZIP); + assertEqualInt(archive_filter_code(a, 0), + ARCHIVE_FILTER_GZIP); assertEqualInt(archive_format(a), ARCHIVE_FORMAT_TAR_USTAR); assertEqualInt(ARCHIVE_OK, archive_read_close(a)); assertEqualInt(ARCHIVE_OK,archive_read_free(a)); |