Skip to content

Commit

Permalink
Add test for dynFunction_getName.
Browse files Browse the repository at this point in the history
  • Loading branch information
PengZheng committed Jan 27, 2024
1 parent 94903a2 commit 4301a98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/dfi/gtest/src/dyn_function_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ TEST_F(DynFunctionTests, DynFuncTest1) {
ASSERT_EQ(0, rc);
EXPECT_TRUE(dynFunction_hasReturn(dynFunc));
EXPECT_EQ(3, dynFunction_nrOfArguments(dynFunc));
EXPECT_STREQ("example", dynFunction_getName(dynFunc));
auto args = dynFunction_arguments(dynFunc);
dyn_function_argument_type* arg = NULL;
TAILQ_FOREACH(arg, args, entries) {
Expand Down

0 comments on commit 4301a98

Please sign in to comment.