fix: build error for schedularTests

This commit is contained in:
Alex Duan 2024-02-18 14:57:29 +08:00
parent 524ebca16a
commit dfd1b5ccaf
1 changed files with 3 additions and 3 deletions

View File

@ -1010,9 +1010,9 @@ TEST(otherTest, otherCase) {
schReleaseJob(0); schReleaseJob(0);
schFreeRpcCtx(NULL); schFreeRpcCtx(NULL);
EXPECT_EQ(schDumpEpSet(NULL), NULL); ASSERT_EQ(schDumpEpSet(NULL), (char*)NULL);
EXPECT_EQ(schGetOpStr(SCH_OP_NULL), "NULL"); ASSERT_EQ(strcmp(schGetOpStr(SCH_OP_NULL), "NULL"), 0);
EXPECT_EQ(schGetOpStr((SCH_OP_TYPE)100, "UNKNOWN"); ASSERT_EQ(strcmp(schGetOpStr((SCH_OP_TYPE)100), "UNKNOWN"), 0);
} }
int main(int argc, char **argv) { int main(int argc, char **argv) {