Skip to content

Commit

Permalink
[Test] Fix BitInputArchive tests logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Nov 17, 2023
1 parent ede2f36 commit a955ebd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/test_bitinputarchive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ using namespace bit7z::test;
using namespace bit7z::test::filesystem;

void require_archive_extracts( const BitArchiveReader& info, const source_location& location ) {
INFO( "Failed while extracting the archive ");
INFO( "Failed while extracting the archive " );
INFO( " from " << location.file_name() << ":" << location.line() );
#ifdef BIT7Z_BUILD_FOR_P7ZIP
const auto& detectedFormat = (info).detectedFormat();
Expand All @@ -47,6 +47,7 @@ void require_archive_extracts( const BitArchiveReader& info, const source_locati

SECTION( "Extracting to the filesystem" ) {
TempTestDirectory testDir{ "test_bitinputarchive" };
INFO( "Temp folder: " << testDir.path() );
REQUIRE_NOTHROW( info.extractTo( path_to_tstring( testDir.path() ) ) );
for ( const auto& item : info ) {
const auto itemPath = PATH_FROM_TSTRING( item.path() );
Expand Down

0 comments on commit a955ebd

Please sign in to comment.