aboutsummaryrefslogtreecommitdiffstats
path: root/test/collectors
diff options
context:
space:
mode:
Diffstat (limited to 'test/collectors')
-rw-r--r--test/collectors/test_bind_collector.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/collectors/test_bind_collector.rb b/test/collectors/test_bind_collector.rb
index 036d8f05fe..60532f061c 100644
--- a/test/collectors/test_bind_collector.rb
+++ b/test/collectors/test_bind_collector.rb
@@ -49,7 +49,7 @@ module Arel
offsets = values.map.with_index { |v,i|
[v,i]
- }.find_all { |(v,i)| Nodes::BindParam === v }.map(&:last)
+ }.find_all { |(v,_)| Nodes::BindParam === v }.map(&:last)
list = collector.substitute_binds ["hello", "world"]
assert_equal "hello", list[offsets[0]]