summaryrefslogtreecommitdiff
path: root/spec/ruby/language
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/language')
-rw-r--r--spec/ruby/language/if_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/ruby/language/if_spec.rb b/spec/ruby/language/if_spec.rb
index 4d809019c9..e2201f4626 100644
--- a/spec/ruby/language/if_spec.rb
+++ b/spec/ruby/language/if_spec.rb
@@ -308,18 +308,6 @@ describe "The if expression" do
6.times(&b)
ScratchPad.recorded.should == [4, 5, 4, 5]
end
-
- ruby_version_is "2.6" do
- it 'is deprecated' do
- i = 4
-
- -> do
- eval "ScratchPad << 'it works' if (i == 4)..(i == 7)"
- end.should complain(/flip-flop is deprecated/)
-
- ScratchPad.recorded.should == ['it works']
- end
- end
end
end