diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-25 05:26:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-25 05:26:31 +0000 |
commit | f6e99d40639415e70168dce552fab471debd5f91 (patch) | |
tree | 566e68d6dd667ba2f2bd2814ab097c3b69b1e277 /test/ripper/test_parser_events.rb | |
parent | df3abbfb3a221c969d3d47ba3482eafec06cc1af (diff) | |
download | ruby-f6e99d40639415e70168dce552fab471debd5f91.tar.gz |
test: refine assertions
* test/test_prime.rb (test_eratosthenes_works_fine_after_timeout):
use assert_raise to check timeout.
* test/test_securerandom.rb: check if results are hexadecimal
strings, and refine failure messages.
* test/test_tracer.rb (test_tracer_with_option_r_without_gems):
use assert_equal to compare.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ripper/test_parser_events.rb')
0 files changed, 0 insertions, 0 deletions