diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-04-03 09:24:03 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-04-03 09:30:47 +0900 |
| commit | bbe94d9bccdffea016bf3fbeb6a3f3c8bb5a56ff (patch) | |
| tree | da124b3789331c7a3f080955e2b535bae36f8f15 | |
| parent | 23175641853cfe7e1a98655ae706f86fbf093535 (diff) | |
Fix typo "rescured" to "rescued"
| -rw-r--r-- | test/ruby/test_thread.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index fae7bb2c2c..fb5a4aa528 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -798,7 +798,7 @@ class TestThread < Test::Unit::TestCase def for_test_handle_interrupt_with_return Thread.handle_interrupt(Object => :never){ - Thread.current.raise RuntimeError.new("have to be rescured") + Thread.current.raise RuntimeError.new("have to be rescued") return } rescue @@ -815,7 +815,7 @@ class TestThread < Test::Unit::TestCase assert_nothing_raised do begin Thread.handle_interrupt(Object => :never){ - Thread.current.raise RuntimeError.new("have to be rescured") + Thread.current.raise RuntimeError.new("have to be rescued") break } rescue |
