diff options
author | 卜部昌平 <[email protected]> | 2020-07-27 10:19:58 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-12-07 18:35:58 +0900 |
commit | 547c71dec47561571b4862dda0395fb0b08d6c1c (patch) | |
tree | 72837cd76bafdfa4a83f473b8677997a9ed55b26 /spec | |
parent | 53ce71b5af09843e1f6dfac7d2f39fa4cf682b12 (diff) |
Hash#index: delete
Has been deprecated since 0c97c8e33584e6203bb09c08f92b63bd2cca8ae7.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/core/hash/index_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/ruby/core/hash/index_spec.rb b/spec/ruby/core/hash/index_spec.rb index 2b52c69949..009e222f12 100644 --- a/spec/ruby/core/hash/index_spec.rb +++ b/spec/ruby/core/hash/index_spec.rb @@ -2,6 +2,8 @@ require_relative '../../spec_helper' require_relative 'fixtures/classes' require_relative 'shared/index' -describe "Hash#index" do - it_behaves_like :hash_index, :index +ruby_version_is ''...'2.8' do + describe "Hash#index" do + it_behaves_like :hash_index, :index + end end |