diff options
Diffstat (limited to 'test/test_directory.cpp')
-rw-r--r-- | test/test_directory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_directory.cpp b/test/test_directory.cpp index 96b9c2d..0f7dc8d 100644 --- a/test/test_directory.cpp +++ b/test/test_directory.cpp @@ -41,12 +41,12 @@ TEST(FudDirectory, Basic) ASSERT_TRUE(files[0].utf8Valid()); ASSERT_TRUE(files[1].utf8Valid()); - ASSERT_EQ(removeRecursive(testDirName), FudStatus::Success); + ASSERT_EQ(removeRecursive(testDirName.asView()), FudStatus::Success); auto mkdirResult = mkdir(testDirName.c_str(), pathMode); EXPECT_EQ(mkdirResult, 0); if (mkdirResult != 0) { - ASSERT_EQ(removeRecursive(testDirName), FudStatus::Success); + ASSERT_EQ(removeRecursive(testDirName.asView()), FudStatus::Success); return; } |