Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 5, 2024
1 parent 092fd20 commit d9a761a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/sqlite_virtual_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def test_no_limit
end

def test_where_limit
skip if SQLite3::VERSION.to_i < 2

error = assert_raises(ActiveRecord::StatementInvalid) do
SqliteVecItem.where.not(embedding: nil).where("embedding MATCH ?", "[0, 0, 0]").order(:distance).limit(3).load
end
Expand Down

0 comments on commit d9a761a

Please sign in to comment.