summaryrefslogtreecommitdiff
path: root/test/ruby/test_thread.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_thread.rb')
-rw-r--r--test/ruby/test_thread.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index 32a155ef18..386a5cb89b 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -382,8 +382,8 @@ class TestThread < Test::Unit::TestCase
assert_equal(true, Thread.report_on_exception,
"global flag is true by default")
- assert_equal(false, Thread.current.report_on_exception,
- "the main thread has report_on_exception=false")
+ assert_equal(true, Thread.current.report_on_exception,
+ "the main thread has report_on_exception=true")
Thread.report_on_exception = true
Thread.current.report_on_exception = false