diff options
Diffstat (limited to 'libarchive/test/test_compat_lzip.c')
-rw-r--r-- | libarchive/test/test_compat_lzip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/test/test_compat_lzip.c b/libarchive/test/test_compat_lzip.c index f474cd4..8f4e06d 100644 --- a/libarchive/test/test_compat_lzip.c +++ b/libarchive/test/test_compat_lzip.c @@ -121,8 +121,8 @@ compat_lzip(const char *name) assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); /* Verify that the format detection worked. */ - assertEqualInt(archive_compression(a), ARCHIVE_COMPRESSION_LZIP); - assertEqualString(archive_compression_name(a), "lzip"); + assertEqualInt(archive_filter_code(a, 0), ARCHIVE_FILTER_LZIP); + assertEqualString(archive_filter_name(a, 0), "lzip"); assertEqualInt(archive_format(a), ARCHIVE_FORMAT_TAR_USTAR); assertEqualInt(ARCHIVE_OK, archive_read_close(a)); |