diff --git a/commonlibrary/toolchain/libc-test/src/toolchaintest.cpp b/commonlibrary/toolchain/libc-test/src/toolchaintest.cpp index abbc43adf8bc983ed0a15c35e3606d21836a9763..a88b6aa0b8ec8d866f954f6984e9d44cd311533b 100644 --- a/commonlibrary/toolchain/libc-test/src/toolchaintest.cpp +++ b/commonlibrary/toolchain/libc-test/src/toolchaintest.cpp @@ -137,5 +137,5 @@ HWTEST_P(toolchaintest, LibcTest, Function | MediumTest | Level3) EXPECT_EQ(-1, ret) << "test " << testName << " failed" << endl; } } -INSTANTIATE_TEST_CASE_P(libcTest, toolchaintest, testing::ValuesIn(temp.begin(), temp.end())); +INSTANTIATE_TEST_SUITE_P(libcTest, toolchaintest, testing::ValuesIn(temp.begin(), temp.end())); } // namespace OHOS \ No newline at end of file