diff options
-rw-r--r-- | test/ruby/test_rand.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_rand.rb b/test/ruby/test_rand.rb index 140851d5ba..f32696cf10 100644 --- a/test/ruby/test_rand.rb +++ b/test/ruby/test_rand.rb @@ -166,7 +166,6 @@ class TestRand < Test::Unit::TestCase end def test_big_seed - srand(2**1000000-1) - assert_equal(1143843490, rand(0x100000000)) + assert_random_int(%w(1143843490), 0x100000000, 2**1000000-1) end end |