Sfoglia il codice sorgente

Fix install_paths format string. (#4021)

Jon Ross-Perkins 1 anno fa
parent
commit
de210b44c4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      toolchain/install/install_paths_test.cpp

+ 1 - 1
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();