summaryrefslogtreecommitdiff
path: root/test/ruby/test_rand.rb
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-01-28 18:29:42 +0900
committerKoichi Sasada <ko1@atdot.net>2020-01-28 18:29:42 +0900
commit65768c80beb64a14c3e918f8ed5e41e9349025d0 (patch)
tree6dcf129e6a6169026152ded9fdea46b7cbfae804 /test/ruby/test_rand.rb
parent4d132fa130e16eeb4af4177cfaccc00e05e2f864 (diff)
remove debug code.
Diffstat (limited to 'test/ruby/test_rand.rb')
-rw-r--r--test/ruby/test_rand.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ruby/test_rand.rb b/test/ruby/test_rand.rb
index 0808c1ef2a..218bed7607 100644
--- a/test/ruby/test_rand.rb
+++ b/test/ruby/test_rand.rb
@@ -2,9 +2,6 @@
require 'test/unit'
class TestRand < Test::Unit::TestCase
- def teardown
- raise if srand == 0
- end
def assert_random_int(ws, m, init = 0)
# call srand in another process
assert_separately [], %Q{