Fix install_paths format string. (#4021)

This commit is contained in:
Jon Ross-Perkins
2024-06-03 18:29:04 +00:00
committed by GitHub
parent dd0890619a
commit de210b44c4
+1 -1
View File
@@ -38,7 +38,7 @@ class InstallPathsTest : public ::testing::Test {
// check that the path accessors point to the right kind of file or
// directory.
auto TestInstallPaths(const InstallPaths& paths) -> void {
SCOPED_TRACE(llvm::formatv("Install prefix: '%s'", paths.prefix()));
SCOPED_TRACE(llvm::formatv("Install prefix: '{0}'", paths.prefix()));
// Grab a the prefix into a string to make it easier to use in the test.
std::string prefix = paths.prefix().str();