diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-09 14:24:38 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2026-01-09 20:02:54 +0900 |
| commit | c794a97940a36269cffcb6ad35ef7ff209fe2720 (patch) | |
| tree | 0e765da5a7fd20739c8b20d5e1c046771121f2b4 /test | |
| parent | e01e13c23999f0e43d8a0874003c73a1cdd68f1e (diff) | |
Rename `alloca_overflow` to `stack_overflow`
`alloca` is an implementation detail to raise a stack overflow.
Diffstat (limited to 'test')
| -rw-r--r-- | test/-ext-/stack/test_stack_overflow.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/-ext-/stack/test_stack_overflow.rb b/test/-ext-/stack/test_stack_overflow.rb index 8eddec6ab5..3d7f00331d 100644 --- a/test/-ext-/stack/test_stack_overflow.rb +++ b/test/-ext-/stack/test_stack_overflow.rb @@ -17,7 +17,7 @@ class Test_StackOverflow < Test::Unit::TestCase require '-test-/stack' assert_raise(SystemStackError) do - Thread.alloca_overflow + Thread.stack_overflow end RUBY end @@ -29,7 +29,7 @@ class Test_StackOverflow < Test::Unit::TestCase thread = Thread.new do Thread.current.report_on_exception = false - Thread.alloca_overflow + Thread.stack_overflow end assert_raise(SystemStackError) do @@ -44,7 +44,7 @@ class Test_StackOverflow < Test::Unit::TestCase GC.disable fiber = Fiber.new do - Thread.alloca_overflow + Thread.stack_overflow end assert_raise(SystemStackError) do |
