diff --git a/kernel_lite/time_posix/src/AlarmTest.cpp b/kernel_lite/time_posix/src/AlarmTest.cpp index df21b3f993a2277d35205ca0b756425cb8add0bf..35d5dbd3c311cb470e1d940748c663e3c2346f7b 100755 --- a/kernel_lite/time_posix/src/AlarmTest.cpp +++ b/kernel_lite/time_posix/src/AlarmTest.cpp @@ -360,7 +360,7 @@ HWTEST_F(AlarmTest, testTimerCreateFork, Function | MediumTest | Level2) Msleep(setMillisec + ACCURACY_ERROR); EXPECT_EQ(mReceivedSignal, SIGALRM); WaitProcExitedOK(pid); - EXPECT_EQ(timer_delete(tid), 0) << "ERROR: timer_delete() != 0"; + EXPECT_EQ(timer_delete(tid), 0) << "ERROR: timer_delete() != 0"; } }