diff --git a/test/unittest/service_test/src/time_client_test.cpp b/test/unittest/service_test/src/time_client_test.cpp index d93a9f540103020bb15567b1af249edc9b647145..e9142ac0b606f3cdabaf3c85c26efe6309e0ff24 100644 --- a/test/unittest/service_test/src/time_client_test.cpp +++ b/test/unittest/service_test/src/time_client_test.cpp @@ -218,7 +218,7 @@ HWTEST_F(TimeClientTest, SetTime001, TestSize.Level1) gettimeofday(¤tTime, nullptr); int64_t time = (currentTime.tv_sec + 1000) * 1000 + currentTime.tv_usec / 1000; ASSERT_GT(time, 0); - TIME_HILOGI(TIME_MODULE_CLIENT, "Time now : %{public}" PRId64 "", time); + TIME_HILOGI(TIME_MODULE_CLIENT, "Time now :%{public}" PRId64 "", time); int32_t result = TimeServiceClient::GetInstance()->SetTimeV9(time); EXPECT_EQ(result, TimeError::E_TIME_OK); }