From c4ce61ba200d1c19ec3fca1d8c0dcbd2e2e08cfd Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 19 Sep 2025 08:47:45 -0500 Subject: [PATCH] fix asserts --- .../repertory_test/include/fixtures/drive_fixture.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/repertory/repertory_test/include/fixtures/drive_fixture.hpp b/repertory/repertory_test/include/fixtures/drive_fixture.hpp index dd7ad9c0..d4ab7fab 100644 --- a/repertory/repertory_test/include/fixtures/drive_fixture.hpp +++ b/repertory/repertory_test/include/fixtures/drive_fixture.hpp @@ -144,11 +144,12 @@ struct platform_ops { return ".\\repertory.exe " + args_joined; #else // !defined(_WIN32) #if defined(__APPLE__) - constexpr const char *kBin = "./repertory.app/Contents/MacOS/repertory "; + constexpr std::string_view repertory_bin = + "./repertory.app/Contents/MacOS/repertory "; #else // !defined(__APPLE__) - constexpr const char *kBin = "./repertory "; + constexpr std::string_view repertory_bin = "./repertory "; #endif // defined(__APPLE__) - return std::string(kBin) + args_joined; + return std::string(repertory_bin) + args_joined; #endif // defined(_WIN32) }