summaryrefslogtreecommitdiff
path: root/spec/ruby/library/set/subset_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/set/subset_spec.rb')
-rw-r--r--spec/ruby/library/set/subset_spec.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/ruby/library/set/subset_spec.rb b/spec/ruby/library/set/subset_spec.rb
index 85666d633f..0494aa25cb 100644
--- a/spec/ruby/library/set/subset_spec.rb
+++ b/spec/ruby/library/set/subset_spec.rb
@@ -35,9 +35,11 @@ describe "Set#subset?" do
end
version_is(set_version, ""..."1.1.0") do #ruby_version_is ""..."3.3" do
- context "when comparing to a Set-like object" do
- it "returns true if passed a Set-like object that self is a subset of" do
- Set[1, 2, 3].subset?(SetSpecs::SetLike.new([1, 2, 3, 4])).should be_true
+ ruby_version_is ""..."3.5" do
+ context "when comparing to a Set-like object" do
+ it "returns true if passed a Set-like object that self is a subset of" do
+ Set[1, 2, 3].subset?(SetSpecs::SetLike.new([1, 2, 3, 4])).should be_true
+ end
end
end
end