From afc11ffd184451b929834a6668873c0d47fae3df Mon Sep 17 00:00:00 2001 From: gaozhichao Date: Mon, 4 Nov 2024 11:14:40 +0800 Subject: [PATCH] [test] TDD Signed-off-by: gaozhichao --- test/unittest/service_test/src/time_client_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unittest/service_test/src/time_client_test.cpp b/test/unittest/service_test/src/time_client_test.cpp index d93a9f54..e9142ac0 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); } -- Gitee