Skip to content

Commit

Permalink
GH-44762: [GLib] Add garrow_table_validate_full()
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroyuki-sato committed Feb 8, 2025
1 parent 7ec85c2 commit 98a634d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c_glib/test/test-table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def setup
end

def test_valid
columns = [@uint8_value, @valid_name_value]
columns = [@id_values, @valid_name_values]
table = Arrow::Table.new(@schema, columns)

assert do
Expand All @@ -305,7 +305,7 @@ def test_valid
def test_invalid
message = "[table][validate-full]: Invalid: " +
"Column 1: In chunk 0: Invalid: Invalid UTF8 sequence at string index 0"
columns = [@uint8_value, @invalid_name_value]
columns = [@id_values, @invalid_name_values]
table = Arrow::Table.new(@schema, columns)

assert_raise(Arrow::Error::Invalid.new(message)) do
Expand Down

0 comments on commit 98a634d

Please sign in to comment.