Skip to content

Commit

Permalink
Fix tests which fail with extra stderr output when a Thread dies
Browse files Browse the repository at this point in the history
* [Feature #14143] [ruby-core:83979].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eregon authored and amatsuda committed Dec 25, 2017
1 parent 93a8a49 commit 7feb0b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/digest/test_digest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def test_race_mixed
assert_nothing_raised {
t = Thread.start {
sleep 0.1
Thread.current.report_on_exception = false
Digest::Foo.new
}
Digest(:Foo).new
Expand Down

0 comments on commit 7feb0b4

Please sign in to comment.