From 14d24a31e2c62b85b76dc8e41c76c49cf3e5a5f7 Mon Sep 17 00:00:00 2001 From: Dewey Dunnington Date: Fri, 6 Sep 2024 10:43:21 -0500 Subject: [PATCH] fix test for centos7 --- src/nanoarrow/ipc/writer_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nanoarrow/ipc/writer_test.cc b/src/nanoarrow/ipc/writer_test.cc index 5eed08092..5b06bc3b8 100644 --- a/src/nanoarrow/ipc/writer_test.cc +++ b/src/nanoarrow/ipc/writer_test.cc @@ -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");