From f3d2158616c9e5bb0909cfff73ce56e5dd0f6cad Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 1 Oct 2019 18:15:22 +0000 Subject: [PATCH] Make another attempt at fixing SymbolFilePDBTests. llvm-svn: 373373 --- lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp index e00139b..5908bea 100644 --- a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp +++ b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp @@ -580,6 +580,7 @@ TEST_F(SymbolFilePDBTests, TestMaxMatches) { uint32_t num_limited_results = results.GetSize() - num_results; EXPECT_EQ(i, num_limited_results); EXPECT_EQ(num_limited_results, results.GetSize()); + num_results = num_limited_results; } } -- 2.7.4