summaryrefslogtreecommitdiff
path: root/spec/ruby/library/set/sortedset/flatten_merge_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/set/sortedset/flatten_merge_spec.rb')
-rw-r--r--spec/ruby/library/set/sortedset/flatten_merge_spec.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/spec/ruby/library/set/sortedset/flatten_merge_spec.rb b/spec/ruby/library/set/sortedset/flatten_merge_spec.rb
index 9a8ed13f00..0d67cb331e 100644
--- a/spec/ruby/library/set/sortedset/flatten_merge_spec.rb
+++ b/spec/ruby/library/set/sortedset/flatten_merge_spec.rb
@@ -1,8 +1,11 @@
require_relative '../../../spec_helper'
-require 'set'
-describe "SortedSet#flatten_merge" do
- it "is protected" do
- SortedSet.should have_protected_instance_method("flatten_merge")
+ruby_version_is ""..."3.0" do
+ require 'set'
+
+ describe "SortedSet#flatten_merge" do
+ it "is protected" do
+ SortedSet.should have_protected_instance_method("flatten_merge")
+ end
end
end