diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-08 19:43:27 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-01 15:36:20 +0900 |
commit | 826f44834fe11f3f9c52343443a15b6c83466889 (patch) | |
tree | f2c2abed62db1c750515cd8b0fbac6442b6d4200 /spec/ruby/core/random | |
parent | 3a2073e61b6ccce6d07d31ebd89d4c385b9a55f2 (diff) | |
download | ruby-826f44834fe11f3f9c52343443a15b6c83466889.tar.gz |
Drop support for ruby 2.4 from ruby/spec
Diffstat (limited to 'spec/ruby/core/random')
-rw-r--r-- | spec/ruby/core/random/raw_seed_spec.rb | 7 | ||||
-rw-r--r-- | spec/ruby/core/random/urandom_spec.rb | 9 |
2 files changed, 2 insertions, 14 deletions
diff --git a/spec/ruby/core/random/raw_seed_spec.rb b/spec/ruby/core/random/raw_seed_spec.rb index c1a1eb1f42..0e40ed0796 100644 --- a/spec/ruby/core/random/raw_seed_spec.rb +++ b/spec/ruby/core/random/raw_seed_spec.rb @@ -1,9 +1,6 @@ -# -*- encoding: binary -*- require_relative '../../spec_helper' require_relative 'shared/urandom' -ruby_version_is "2.5" do - describe "Random.urandom" do - it_behaves_like :random_urandom, :urandom - end +describe "Random.urandom" do + it_behaves_like :random_urandom, :urandom end diff --git a/spec/ruby/core/random/urandom_spec.rb b/spec/ruby/core/random/urandom_spec.rb deleted file mode 100644 index e27f83cdcd..0000000000 --- a/spec/ruby/core/random/urandom_spec.rb +++ /dev/null @@ -1,9 +0,0 @@ -# -*- encoding: binary -*- -require_relative '../../spec_helper' -require_relative 'shared/urandom' - -ruby_version_is ""..."2.5" do - describe "Random.raw_seed" do - it_behaves_like :random_urandom, :raw_seed - end -end |