aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/socket/test_addrinfo.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/socket/test_addrinfo.rb b/test/socket/test_addrinfo.rb
index 1416553c9b..b83118f5c7 100644
--- a/test/socket/test_addrinfo.rb
+++ b/test/socket/test_addrinfo.rb
@@ -470,13 +470,13 @@ class TestSocketAddrinfo < Test::Unit::TestCase
def test_marshal_memory_leak
bug11051 = '[ruby-dev:48923] [Bug #11051]'
- assert_no_memory_leak(%w[-rsocket], <<-prep, <<-code, bug11051, rss: true, limit: 1.1)
+ assert_no_memory_leak(%w[-rsocket], <<-PREP, <<-CODE, bug11051, rss: true)
d = Marshal.dump(Addrinfo.tcp("127.0.0.1", 80))
1000.times {Marshal.load(d)}
- prep
+ PREP
GC.start
20_000.times {Marshal.load(d)}
- code
+ CODE
end
if Socket.const_defined?("AF_INET6") && Socket::AF_INET6.is_a?(Integer)