Skip to content

Commit 08e0183

Browse files
committed
fix
1 parent b3beb9a commit 08e0183

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set(SPARROW_IPC_TESTS_SRC
1111
test_chunk_memory_serializer.cpp
1212
test_de_serialization_with_files.cpp
1313
test_file_output_stream.cpp
14-
test_flatbuffer_utils.cpp
14+
$<$<NOT:$<BOOL:${SPARROW_IPC_BUILD_SHARED}>>:test_flatbuffer_utils.cpp>
1515
test_memory_output_streams.cpp
1616
test_serialize_utils.cpp
1717
test_utils.cpp

tests/test_flatbuffer_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ namespace sparrow_ipc
509509
get_flatbuffer_type(builder, "w:32").first,
510510
org::apache::arrow::flatbuf::Type::FixedSizeBinary
511511
); // FIXED_WIDTH_BINARY
512-
CHECK_THROWS(get_flatbuffer_type(builder, "w:")); // Invalid FixedSizeBinary format
512+
CHECK_THROWS(static_cast<void>(get_flatbuffer_type(builder, "w:"))); // Invalid FixedSizeBinary format
513513
}
514514

515515
SUBCASE("Unsupported type returns Null")

0 commit comments

Comments
 (0)