diff options
author | Benoit Daloze <eregontp@gmail.com> | 2020-09-15 21:54:31 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2020-09-15 21:56:00 +0200 |
commit | 1af0319fc88688bc5dd5e49eecdb8b534ead9991 (patch) | |
tree | 352b35490e64bc961dc005d679392106d6be90b9 /spec/ruby/core/binding/eval_spec.rb | |
parent | 9b535f3ff7c2f48e34dd44564df7adc723b81276 (diff) |
2.8 -> 3.0 in specs
Diffstat (limited to 'spec/ruby/core/binding/eval_spec.rb')
-rw-r--r-- | spec/ruby/core/binding/eval_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/ruby/core/binding/eval_spec.rb b/spec/ruby/core/binding/eval_spec.rb index 224bce4c33..b36bec799e 100644 --- a/spec/ruby/core/binding/eval_spec.rb +++ b/spec/ruby/core/binding/eval_spec.rb @@ -23,7 +23,7 @@ describe "Binding#eval" do bind2.local_variables.should == [] end - ruby_version_is ""..."2.8" do + ruby_version_is ""..."3.0" do it "inherits __LINE__ from the enclosing scope" do obj = BindingSpecs::Demo.new(1) bind = obj.get_binding @@ -50,7 +50,7 @@ describe "Binding#eval" do end end - ruby_version_is "2.8" do + ruby_version_is "3.0" do it "starts with line 1 if single argument is given" do obj = BindingSpecs::Demo.new(1) bind = obj.get_binding @@ -89,7 +89,7 @@ describe "Binding#eval" do bind.eval("#foo\n__LINE__", "(test)", 88).should == 89 end - ruby_version_is ""..."2.8" do + ruby_version_is ""..."3.0" do it "inherits __FILE__ from the enclosing scope" do obj = BindingSpecs::Demo.new(1) bind = obj.get_binding @@ -97,7 +97,7 @@ describe "Binding#eval" do end end - ruby_version_is "2.8" do + ruby_version_is "3.0" do it "Uses (eval) as __FILE__ if single argument given" do obj = BindingSpecs::Demo.new(1) bind = obj.get_binding |