Skip to content

Commit

Permalink
drop duckdb 0.10.0 check in Result test (#772)
Browse files Browse the repository at this point in the history
ruby-duckdb supports only duckdb >= 1.0.0.
So remove duckdb 0.10.0 check in DuckDB::Reslt test.
  • Loading branch information
suketa authored Oct 5, 2024
1 parent 1d424d1 commit e37ba37
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/duckdb_test/result_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,7 @@ def test__column_type
assert_equal(16, @result.send(:_column_type, 4))
assert_equal(10, @result.send(:_column_type, 5))
assert_equal(11, @result.send(:_column_type, 6))
if Gem::Version.new(DuckDB::LIBRARY_VERSION) == Gem::Version.new('0.10.0')
assert_equal(18, @result.send(:_column_type, 7))
else
assert_equal(17, @result.send(:_column_type, 7))
end
assert_equal(17, @result.send(:_column_type, 7))
assert_equal(13, @result.send(:_column_type, 8))
assert_equal(12, @result.send(:_column_type, 9))
end
Expand Down

0 comments on commit e37ba37

Please sign in to comment.