Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: llvm/llvm-project
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 627a0869d11cc801c8cbfd4ef71c71d6d4b89ef4
Choose a base ref
..
head repository: llvm/llvm-project
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4210939acc22027077e509c13a6004d00f752011
Choose a head ref
Showing with 3 additions and 0 deletions.
  1. +3 −0 clang/unittests/InstallAPI/FileListTest.cpp
3 changes: 3 additions & 0 deletions clang/unittests/InstallAPI/FileListTest.cpp
Original file line number Diff line number Diff line change
@@ -22,6 +22,9 @@ static inline void testValidFileList(std::string Input, HeaderSeq &Expected) {
HeaderSeq Headers;
llvm::Error Err = FileListReader::loadHeaders(std::move(InputBuf), Headers);
EXPECT_FALSE(!!Err);
if (Err)
FAIL()
<< "Unexpected error reading and testing FileListReader::loadHeaders";

EXPECT_EQ(Expected.size(), Headers.size());
EXPECT_EQ(Headers, Expected);