1
0
Fork 0
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:
Ryuta Kamizono 2019-05-03 09:43:04 +09:00 committed by GitHub
commit 9b0e632def
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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