mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #36168 from yahonda/remove_redundant_test_too_many_binds_testcase
Remove redundant `test_too_many_binds`
This commit is contained in:
commit
9b0e632def
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "cases/helper"
|
||||
require "models/topic"
|
||||
|
||||
module ActiveRecord
|
||||
module ConnectionAdapters
|
||||
class SQLite3Adapter
|
||||
class BindParameterTest < ActiveRecord::SQLite3TestCase
|
||||
def test_too_many_binds
|
||||
topics = Topic.where(id: (1..999).to_a << 2**63)
|
||||
assert_equal Topic.count, topics.count
|
||||
|
||||
topics = Topic.where.not(id: (1..999).to_a << 2**63)
|
||||
assert_equal 0, topics.count
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue