diff --git a/repertory/repertory_test/src/providers_test.cpp b/repertory/repertory_test/src/providers_test.cpp index 56595d3f..4088ebd1 100644 --- a/repertory/repertory_test/src/providers_test.cpp +++ b/repertory/repertory_test/src/providers_test.cpp @@ -638,6 +638,7 @@ static void get_file(const app_config &cfg, i_provider &provider) { EXPECT_EQ(std::size_t(46U), file.file_size); #endif EXPECT_STREQ(source_path.c_str(), file.source_path.c_str()); + return; } } @@ -664,6 +665,7 @@ static void get_file_fails_if_item_is_directory(const app_config &cfg, api_file file{}; EXPECT_EQ(api_error::directory_exists, provider.get_file(api_path, file)); + return; } }