File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,13 @@ TEST(Attr, AnnotateType) {
102
102
AssertAnnotatedAs (PointerTL.getPointeeLoc (), " foo" , PointerPointerTL,
103
103
&Annotate);
104
104
105
- EXPECT_EQ (Annotate->args_size (), 2 );
105
+ EXPECT_EQ (Annotate->args_size (), 2u );
106
106
const auto *StringLit = selectFirst<StringLiteral>(
107
107
" str" , match (constantExpr (hasDescendant (stringLiteral ().bind (" str" ))),
108
108
*Annotate->args_begin ()[0 ], AST->getASTContext ()));
109
109
ASSERT_NE (StringLit, nullptr );
110
110
EXPECT_EQ (StringLit->getString (), " arg1" );
111
- EXPECT_EQ (match (constantExpr (has (integerLiteral (equals (2 )).bind (" int" ))),
111
+ EXPECT_EQ (match (constantExpr (has (integerLiteral (equals (2u )).bind (" int" ))),
112
112
*Annotate->args_begin ()[1 ], AST->getASTContext ())
113
113
.size (),
114
114
1 );
You can’t perform that action at this time.
0 commit comments