Skip to content

Commit

Permalink
Update cpp/src/arrow/filesystem/azurefs_test.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Sutou Kouhei <[email protected]>
  • Loading branch information
av8or1 and kou authored Feb 8, 2024
1 parent 39eb5ae commit fc7ada2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/src/arrow/filesystem/azurefs_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1394,9 +1394,9 @@ TEST_F(TestAzuriteFileSystem, DeleteFileSuccess) {

TEST_F(TestAzuriteFileSystem, DeleteFileFailureNonexistent) {
const auto container_name = PreexistingData::RandomContainerName(rng_);
auto container_client = CreateContainer(container_name);
const auto blob_path = ConcatAbstractPath(container_name, "someblob");
ASSERT_RAISES(IOError, fs()->DeleteFile(blob_path));
ASSERT_OK(fs()->CreateDir(container_name));
const auto nonexistent_file_name = ConcatAbstractPath(container_name, "nonexistent");
ASSERT_RAISES(IOError, fs()->DeleteFile(nonexistent_file_name));
}

TEST_F(TestAzuriteFileSystem, DeleteFileFailureContainer) {
Expand Down

0 comments on commit fc7ada2

Please sign in to comment.