aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/visitors/test_depth_first.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/visitors/test_depth_first.rb b/test/visitors/test_depth_first.rb
index 1f1c7ab361..7d7324f627 100644
--- a/test/visitors/test_depth_first.rb
+++ b/test/visitors/test_depth_first.rb
@@ -110,9 +110,9 @@ module Arel
Arel::Nodes::And,
].each do |klass|
define_method("test_#{klass.name.gsub('::', '_')}") do
- binary = klass.new([:a, :b])
+ binary = klass.new([:a, :b, :c])
@visitor.accept binary
- assert_equal [:a, :b, binary], @collector.calls
+ assert_equal [:a, :b, :c, binary], @collector.calls
end
end