summaryrefslogtreecommitdiff
path: root/spec/ruby/library/ipaddr/operator_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/ipaddr/operator_spec.rb')
-rw-r--r--spec/ruby/library/ipaddr/operator_spec.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/ruby/library/ipaddr/operator_spec.rb b/spec/ruby/library/ipaddr/operator_spec.rb
index a0984bfcfe..f90c56009c 100644
--- a/spec/ruby/library/ipaddr/operator_spec.rb
+++ b/spec/ruby/library/ipaddr/operator_spec.rb
@@ -54,11 +54,9 @@ describe "IPAddr Operator" do
@a.should_not == IPAddr.new("3ffe:505:3::")
end
- ruby_version_is '2.4' do
- # https://bugs.ruby-lang.org/issues/12799
- it "tests for equality correctly if object cannot be converted to IPAddr" do
- IPAddr.new("1.1.1.1").should_not == "sometext"
- end
+ # https://bugs.ruby-lang.org/issues/12799
+ it "tests for equality correctly if object cannot be converted to IPAddr" do
+ IPAddr.new("1.1.1.1").should_not == "sometext"
end
it "sets a mask" do