hiroyuki-sato commented on code in PR #45328: URL: https://github.com/apache/arrow/pull/45328#discussion_r1924834911
########## c_glib/test/test-array.rb: ########## @@ -116,6 +116,18 @@ def test_to_s CONTENT end + def test_validation_success + array = build_int32_array([1, 2, 3, 4, 5]) + assert_equal(true, array.validate) + end + + def test_validation_fail + array = Arrow::Int8Array.new(-1, Arrow::Buffer.new(""), Arrow::Buffer.new(""), -1) + assert_raise(Arrow::Error::Invalid) do + array.validate + end + end + Review Comment: Thanks fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org