Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Sep 10, 2024
1 parent 872d1ac commit 82d0f49
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ void afterEach() {
allocator.close();
}

@Test
void arraySchemaInit() {
ArrowSchema schema = ArrowSchema.allocateNew(allocator);
Snapshot snapshot = schema.snapshot();
assertThat(snapshot.release).isEqualTo(0);
schema.close();
}

// ------------------------------------------------------------
// BufferImportTypeVisitor

Expand Down

0 comments on commit 82d0f49

Please sign in to comment.