Skip to content

Commit

Permalink
ARROW-4793: [Ruby] Suppress unused variable warning
Browse files Browse the repository at this point in the history
Message:

    ruby/red-arrow/test/test-bigdecimal.rb:20: warning: assigned but unused variable - arrow_decimal

Author: Kouhei Sutou <[email protected]>

Closes apache#3828 from kou/ruby-suppress-warning and squashes the following commits:

2f6c7e2 <Kouhei Sutou>  Suppress unused variable warning
  • Loading branch information
kou authored and shiro615 committed Mar 7, 2019
1 parent c291fb9 commit dccf7f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ruby/red-arrow/test/test-bigdecimal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

class BigDecimalTest < Test::Unit::TestCase
test("#to_arrow") do
arrow_decimal = BigDecimal("3.14").to_arrow
assert_equal(Arrow::Decimal128.new("3.14"),
BigDecimal("3.14").to_arrow)
end
Expand Down

0 comments on commit dccf7f7

Please sign in to comment.