diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-17 05:22:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-17 05:22:57 +0000 |
commit | 755a81a77a3dfff6f224642206af6b7f1efbfe0c (patch) | |
tree | 077fe79d2465eff23faf347fd56bcd6c12eee24d /test | |
parent | 7b2b8319592f556bc5a9fc31e0b60d33a41309c7 (diff) | |
download | ruby-755a81a77a3dfff6f224642206af6b7f1efbfe0c.tar.gz |
assertions.rb: fix result of assert_nothing_raised
* test/lib/test/unit/assertions.rb (assert_nothing_raised): do not
discard the result of the given block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/test/unit/assertions.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lib/test/unit/assertions.rb b/test/lib/test/unit/assertions.rb index dd4e0fccf0..3cbf32882e 100644 --- a/test/lib/test/unit/assertions.rb +++ b/test/lib/test/unit/assertions.rb @@ -186,7 +186,6 @@ module Test raise end end - nil end # :call-seq: |