File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class LocalFileIOTest : public testing::Test {
4343TEST_F (LocalFileIOTest, ReadWriteFile) {
4444 auto read_res = file_io_->ReadFile (tmpfile.string (), std::nullopt );
4545 EXPECT_THAT (read_res, IsError (ErrorKind::kIOError ));
46- EXPECT_THAT (read_res, HasErrorMessage (" No such file or directory " ));
46+ EXPECT_THAT (read_res, HasErrorMessage (" Failed to open local file " ));
4747
4848 auto write_res = file_io_->WriteFile (tmpfile.string (), " hello world" );
4949 EXPECT_THAT (write_res, IsOk ());
@@ -59,7 +59,7 @@ TEST_F(LocalFileIOTest, DeleteFile) {
5959
6060 del_res = file_io_->DeleteFile (tmpfile.string ());
6161 EXPECT_THAT (del_res, IsError (ErrorKind::kIOError ));
62- EXPECT_THAT (del_res, HasErrorMessage (" No such file or directory " ));
62+ EXPECT_THAT (del_res, HasErrorMessage (" Cannot delete file" ));
6363}
6464
6565} // namespace iceberg
You can’t perform that action at this time.
0 commit comments