From de210b44c40f59af69cdb4e9477fbc9e3b18bd4b Mon Sep 17 00:00:00 2001 From: Jon Ross-Perkins Date: Mon, 3 Jun 2024 11:29:04 -0700 Subject: [PATCH] Fix install_paths format string. (#4021) --- toolchain/install/install_paths_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/install/install_paths_test.cpp b/toolchain/install/install_paths_test.cpp index ba42b2975303..a436879ba513 100644 --- a/toolchain/install/install_paths_test.cpp +++ b/toolchain/install/install_paths_test.cpp @@ -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();