Adjust indent [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2024-05-04 01:15:09 +09:00
parent 97654bee49
commit 91485d7dc6
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -1,17 +1,17 @@
require "test/unit"
class TestObjSpaceRactor < Test::Unit::TestCase
def test_tracing_does_not_crash
assert_ractor(<<~RUBY, require: 'objspace')
ObjectSpace.trace_object_allocations do
r = Ractor.new do
obj = 'a' * 1024
Ractor.yield obj
end
def test_tracing_does_not_crash
assert_ractor(<<~RUBY, require: 'objspace')
ObjectSpace.trace_object_allocations do
r = Ractor.new do
obj = 'a' * 1024
Ractor.yield obj
end
r.take
r.take
end
RUBY
end
r.take
r.take
end
RUBY
end
end