diff options
author | Pavel Labath <labath@google.com> | 2017-01-18 17:31:55 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-01-18 17:31:55 +0000 |
commit | c69d0a203bdf999404610b79a43d66e8395ce0e9 (patch) | |
tree | 977ec777e37e093f879da32a1f0382cc74e5d1eb | |
parent | a4e63ead4b43b0f6be70744b553a2dcb9bdbf605 (diff) | |
download | bcm5719-llvm-c69d0a203bdf999404610b79a43d66e8395ce0e9.tar.gz bcm5719-llvm-c69d0a203bdf999404610b79a43d66e8395ce0e9.zip |
Fix new Log unit test
the test was flaky because I specified the format string for the process id
incorrectly. This should fix it.
llvm-svn: 292414
-rw-r--r-- | lldb/unittests/Core/LogTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/Core/LogTest.cpp b/lldb/unittests/Core/LogTest.cpp index 60c386aafd8..515d9201f74 100644 --- a/lldb/unittests/Core/LogTest.cpp +++ b/lldb/unittests/Core/LogTest.cpp @@ -48,7 +48,7 @@ TEST(LogTest, log_options) { "World 47\n", GetLogString(LLDB_LOG_OPTION_PREPEND_FILE_FUNCTION, "Hello World {0}", 47)); - EXPECT_EQ(llvm::formatv("[{0}/{1}] Hello World 47\n", + EXPECT_EQ(llvm::formatv("[{0,0+4}/{1,0+4}] Hello World 47\n", Host::GetCurrentProcessID(), Host::GetCurrentThreadID()) .str(), |