summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-12 23:26:29 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-12 23:26:35 +0900
commit93b27c69cc65b5019df061bb8fefaa097bf8a33d (patch)
tree3bed7ad05d93543686d00d6329c3698f5eb5eea8 /bootstraptest
parent68321dd1fa6f55e578bc9776f906ee1f948c7095 (diff)
Show the failed message too
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_thread.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index d72d4d8a95..f00e2f7efc 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -59,7 +59,7 @@ begin
}
}
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{