Skip to content

Commit

Permalink
Merge branch 'apache:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Yimche authored Oct 21, 2024
2 parents ab80697 + 375b21f commit 591ffb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions c_glib/test/test-decimal128-data-type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ def test_decimal_data_type_new
end

def test_invalid_precision
message =
"[decimal128-data-type][new]: Invalid: Decimal precision out of range [1, 38]: 39"
assert_raise(Arrow::Error::Invalid.new(message)) do
assert_raise(Arrow::Error::Invalid) do
Arrow::Decimal128DataType.new(39, 1)
end
end
Expand Down
4 changes: 1 addition & 3 deletions c_glib/test/test-decimal256-data-type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ def test_decimal_data_type_new
end

def test_invalid_precision
message =
"[decimal256-data-type][new]: Invalid: Decimal precision out of range [1, 76]: 77"
assert_raise(Arrow::Error::Invalid.new(message)) do
assert_raise(Arrow::Error::Invalid) do
Arrow::Decimal256DataType.new(77, 1)
end
end
Expand Down

0 comments on commit 591ffb7

Please sign in to comment.