Skip to content

Commit

Permalink
GH-38703: [C++][FS][Azure] Implement DeleteFile()
Browse files Browse the repository at this point in the history
Updated the new regression test.
  • Loading branch information
av8or1 committed Feb 2, 2024
1 parent 58c4ccd commit 3cce85c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/filesystem/azurefs_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1401,8 +1401,8 @@ TEST_F(TestAzuriteFileSystem, DeleteFileFailureContainer) {
}

TEST_F(TestAzuriteFileSystem, DeleteFileFailureDirectory) {
const auto directory_name = ConcatAbstractPath(
PreexistingData::RandomContainerName(rng_), "directory");
const auto directory_name =
ConcatAbstractPath(PreexistingData::RandomContainerName(rng_), "directory");
ASSERT_OK(fs()->CreateDir(directory_name));
arrow::fs::AssertFileInfo(fs(), directory_name, FileType::Directory);
ASSERT_RAISES(IOError, fs()->DeleteFile(directory_name));
Expand Down

0 comments on commit 3cce85c

Please sign in to comment.