aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rand.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-05 11:28:23 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-05 11:28:23 +0000
commit7f51312344e6634a4a4b93278466938026abb1f8 (patch)
tree19e90ffab68d8e79f0eea1da5236a36484f4dd9a /test/ruby/test_rand.rb
parent0133aee46c576594b049629139f587f130ef249b (diff)
downloadruby-7f51312344e6634a4a4b93278466938026abb1f8.tar.gz
add an assertion message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rand.rb')
-rw-r--r--test/ruby/test_rand.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rand.rb b/test/ruby/test_rand.rb
index ed74c5b211..e22e532c53 100644
--- a/test/ruby/test_rand.rb
+++ b/test/ruby/test_rand.rb
@@ -398,7 +398,7 @@ END
raise 'default seed is not set' if srand == 0
end
p2, st = Process.waitpid2(pid)
- assert(st.success?)
+ assert(st.success?, "#{st.inspect}")
rescue NotImplementedError, ArgumentError
end