Skip to content

Commit df0e696

Browse files
committed
[clang][ssaf][NFC] Make a test assertion more specific
1 parent d488921 commit df0e696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/Analysis/Scalable/ASTEntityMappingTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ TEST(ASTEntityMappingTest, BuiltinFunction) {
131131
// Find the builtin call
132132
auto Matcher = callExpr().bind("call");
133133
auto Matches = match(Matcher, Ctx);
134-
ASSERT_FALSE(Matches.empty());
134+
ASSERT_EQ(Matches.size(), 1ul);
135135

136136
const auto *CE = Matches[0].getNodeAs<CallExpr>("call");
137137
ASSERT_NE(CE, nullptr);

0 commit comments

Comments
 (0)