Make another attempt at fixing SymbolFilePDBTests.
authorAdrian Prantl <aprantl@apple.com>
Tue, 1 Oct 2019 18:15:22 +0000 (18:15 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 1 Oct 2019 18:15:22 +0000 (18:15 +0000)
llvm-svn: 373373

lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp

index e00139b..5908bea 100644 (file)
@@ -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;
   }
 }