aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-17 05:22:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-17 05:22:57 +0000
commit2583cda291e8d2f3c99bc34e54dcaa7fdcfedb53 (patch)
tree077fe79d2465eff23faf347fd56bcd6c12eee24d /test/lib
parenta59a9c20eaab144be8e111158fa988db85ef2e24 (diff)
downloadruby-2583cda291e8d2f3c99bc34e54dcaa7fdcfedb53.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/lib')
-rw-r--r--test/lib/test/unit/assertions.rb1
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: