summaryrefslogtreecommitdiff
path: root/spec/ruby/core/random
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-02-08 19:43:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-01 15:36:20 +0900
commit826f44834fe11f3f9c52343443a15b6c83466889 (patch)
treef2c2abed62db1c750515cd8b0fbac6442b6d4200 /spec/ruby/core/random
parent3a2073e61b6ccce6d07d31ebd89d4c385b9a55f2 (diff)
Drop support for ruby 2.4 from ruby/spec
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2892
Diffstat (limited to 'spec/ruby/core/random')
-rw-r--r--spec/ruby/core/random/raw_seed_spec.rb7
-rw-r--r--spec/ruby/core/random/urandom_spec.rb9
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