Skip to content

Commit

Permalink
Fix BitNestedArchiveReader tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Jun 16, 2024
1 parent bcf6476 commit a97af8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/test_bitnestedarchivereader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ TEMPLATE_TEST_CASE( "BitNestedArchiveReader: Extracting compressed archives insi
for ( const auto& item : outerArchive ) {
const auto& format = [&item]() -> const BitInFormat& {
const auto& ext = item.extension();
if ( ext == "gz" ) {
if ( ext == BIT7Z_STRING( "gz" ) ) {
return BitFormat::GZip;
}
if ( ext == "bz2" ) {
if ( ext == BIT7Z_STRING( "bz2" ) ) {
return BitFormat::BZip2;
}
return BitFormat::Xz;
Expand Down

0 comments on commit a97af8d

Please sign in to comment.