summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/difference_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/difference_spec.rb')
-rw-r--r--spec/ruby/core/array/difference_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/array/difference_spec.rb b/spec/ruby/core/array/difference_spec.rb
index 33ea8e1f3c..a357657967 100644
--- a/spec/ruby/core/array/difference_spec.rb
+++ b/spec/ruby/core/array/difference_spec.rb
@@ -4,7 +4,7 @@ require_relative 'shared/difference'
ruby_version_is "2.6" do
describe "Array#difference" do
- it_behaves_like :array_binary_difference, :-
+ it_behaves_like :array_binary_difference, :difference
it "returns a copy when called without any parameter" do
x = [1, 2, 3, 2]