Skip to content

Commit

Permalink
Use Unsigned Literal
Browse files Browse the repository at this point in the history
  • Loading branch information
rdtscp committed Aug 18, 2020
1 parent 4b91ba2 commit 4ae9ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Test_ASTAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ TEST(Test_ASTAnalysis, AssignOverload) {
ASSERT_EQ(progAST->decls[5]->astClass(), "FunDef");
const atl::shared_ptr<FunDef> func =
atl::static_pointer_cast<FunDef>(progAST->decls[5]);
ASSERT_EQ(func->funBlock->stmts.size(), 3);
ASSERT_EQ(func->funBlock->stmts.size(), 3u);
ASSERT_EQ(func->funBlock->stmts[1]->astClass(), "VarDef");
const atl::shared_ptr<VarDef> vardef =
atl::static_pointer_cast<VarDef>(func->funBlock->stmts[1]);
Expand Down

0 comments on commit 4ae9ca7

Please sign in to comment.