From 66aa3de5dc5acc9ef52511f8a56d48667d163250 Mon Sep 17 00:00:00 2001 From: liyuke Date: Thu, 10 Jul 2025 16:31:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9unlink=20TDD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liyuke Change-Id: Ib463c8b3a83b0d604b82d4c43a5c41b9ee119cb2 --- .../unittest/js/mod_fs/properties/unlink_core_mock_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/test/unittest/js/mod_fs/properties/unlink_core_mock_test.cpp b/interfaces/test/unittest/js/mod_fs/properties/unlink_core_mock_test.cpp index d6103bee9..fcd294b5f 100644 --- a/interfaces/test/unittest/js/mod_fs/properties/unlink_core_mock_test.cpp +++ b/interfaces/test/unittest/js/mod_fs/properties/unlink_core_mock_test.cpp @@ -42,7 +42,7 @@ void UnlinkCoreMockTest::SetUpTestCase(void) { GTEST_LOG_(INFO) << "SetUpTestCase"; tempFilePath = filesystem::temp_directory_path() / "unlink_test_file.txt"; - ofstream(tempFilePath) << "Test content\n123\n456"; + ofstream(tempFilePath) << "unlink_test_file"; uvMock = std::make_shared(); Uvfs::ins = uvMock; } -- Gitee