ruby-changes:59222
From: Nobuyoshi <ko1@a...>
Date: Thu, 12 Dec 2019 23:27:14 +0900 (JST)
Subject: [ruby-changes:59222] 93b27c69cc (master): Show the failed message too
https://git.ruby-lang.org/ruby.git/commit/?id=93b27c69cc From 93b27c69cc65b5019df061bb8fefaa097bf8a33d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 12 Dec 2019 23:26:29 +0900 Subject: Show the failed message too diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb index d72d4d8..f00e2f7 100644 --- a/bootstraptest/test_thread.rb +++ b/bootstraptest/test_thread.rb @@ -59,7 +59,7 @@ begin https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_thread.rb#L59 } } rescue ThreadError => e - :ok if /can't create Thread/ =~ e.message + /can't create Thread/ =~ e.message ? :ok : e.message end } assert_equal %q{ok}, %q{ -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/