diff options
Diffstat (limited to 'libarchive/test/test_read_format_gtar_gz.c')
-rw-r--r-- | libarchive/test/test_read_format_gtar_gz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/test/test_read_format_gtar_gz.c b/libarchive/test/test_read_format_gtar_gz.c index d688f08..8d60de0 100644 --- a/libarchive/test/test_read_format_gtar_gz.c +++ b/libarchive/test/test_read_format_gtar_gz.c @@ -51,8 +51,8 @@ DEFINE_TEST(test_read_format_gtar_gz) 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_GNUTAR); assertEqualInt(ARCHIVE_OK, archive_read_close(a)); assertEqualInt(ARCHIVE_OK, archive_read_free(a)); |