Skip to content

Commit 7b5b474

Browse files
authored
Merge pull request swiftlang#36754 from compnerd/verbosity
unittests: add a more verbose error message
2 parents dd67132 + 2c15beb commit 7b5b474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/DependencyScan/Features.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ testHasOption(llvm::opt::OptTable &table, options::ID id,
3030
if (strlen(name) > 0) {
3131
auto nameStr = std::string(name);
3232
bool setContainsOption = optionSet.find(nameStr) != optionSet.end();
33-
EXPECT_EQ(setContainsOption, true);
33+
EXPECT_EQ(setContainsOption, true) << "Missing Option: " << nameStr;
3434
}
3535
}
3636
}

0 commit comments

Comments
 (0)