From 18fef09a02d1d64b6ee892bf9d4c69c9235a97e2 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 16 Dec 2021 15:53:42 +0900 Subject: Refine wording about the default random seed [ci skip] --- spec/ruby/core/kernel/srand_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') 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 -- cgit v1.2.3