summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-16 15:53:42 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-16 17:44:12 +0900
commit18fef09a02d1d64b6ee892bf9d4c69c9235a97e2 (patch)
treed4ed78a1f010b3e9fd2d4e1896396d6d91a9f07f /spec
parentf1a02ebfb9362c6d925b700ad4d24ddb3f81abd3 (diff)
Refine wording about the default random seed [ci skip]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5281
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/core/kernel/srand_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/srand_spec.rb b/spec/ruby/core/kernel/srand_spec.rb
index 90c1d09b82..f220950422 100644
--- a/spec/ruby/core/kernel/srand_spec.rb
+++ b/spec/ruby/core/kernel/srand_spec.rb
@@ -11,7 +11,7 @@ describe "Kernel.srand" do
srand(20).should == 10
end
- it "returns the previous seed value on the first call" do
+ it "returns the system-initialized seed value on the first call" do
ruby_exe('print srand(10)', options: '--disable-gems').should =~ /\A\d+\z/
end