Skip to content

Commit

Permalink
fix test for centos7
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Sep 6, 2024
1 parent e629a8b commit 14d24a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nanoarrow/ipc/writer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ TEST(NanoarrowIpcWriter, OutputStreamFile) {

TEST(NanoarrowIpcWriter, OutputStreamFileError) {
nanoarrow::ipc::UniqueOutputStream stream;
EXPECT_EQ(ArrowIpcOutputStreamInitFile(stream.get(), nullptr, /*close_on_release=*/1),
EINVAL);
EXPECT_NE(ArrowIpcOutputStreamInitFile(stream.get(), nullptr, /*close_on_release=*/1),
NANOARROW_OK);

auto phony_path = __FILE__ + std::string(".phony");
FILE* file_ptr = fopen(phony_path.c_str(), "rb");
Expand Down

0 comments on commit 14d24a3

Please sign in to comment.