Skip to content

Commit

Permalink
[Test] Fix build of test app on MSVC 2015
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Oct 22, 2023
1 parent 8068b91 commit 94d9549
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/test_formatdetect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ TEST_CASE( "formatdetect: Format detection of archive with a wrong extension (Is

const Bit7zLibrary lib{ test::sevenzip_lib_path() };

auto testFile = GENERATE( BIT7Z_STRING( "wrong_extension.rar" ), BIT7Z_STRING( "wrong_extension.bz2" ) );
auto testFile = GENERATE( as< tstring >(),
BIT7Z_STRING( "wrong_extension.rar" ),
BIT7Z_STRING( "wrong_extension.bz2" ) );

DYNAMIC_SECTION( "Reading file with a wrong extension: " << Catch::StringMaker< tstring >::convert( testFile ) ) {
// From file
Expand Down

0 comments on commit 94d9549

Please sign in to comment.