diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-02-15 14:57:18 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-02-15 14:57:18 -0800 |
commit | 05458d4067c1642fe89f164ce3e6466af1458043 (patch) | |
tree | 6aca6db96c88656e416fbc6efd5607781be69fb7 | |
parent | f9233c20d453475df22ce7e4d0d098837f0d859a (diff) | |
download | raindrops-05458d4067c1642fe89f164ce3e6466af1458043.tar.gz |
-rw-r--r-- | test/test_linux.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_linux.rb b/test/test_linux.rb index 5dc5f5b..b84846d 100644 --- a/test/test_linux.rb +++ b/test/test_linux.rb @@ -138,7 +138,7 @@ class TestLinux < Test::Unit::TestCase fork do rda.close wrb.close - socks = (1..nr_sock).times.map { s.accept } + socks = (1..nr_sock).map { s.accept } wra.syswrite('.') wra.close rdb.sysread(1) # wait for parent to nuke us @@ -149,7 +149,7 @@ class TestLinux < Test::Unit::TestCase fork do rda.close wrb.close - socks = (1..nr_sock).times.map { TCPSocket.new(TEST_ADDR, port) } + socks = (1..nr_sock).map { TCPSocket.new(TEST_ADDR, port) } wra.syswrite('.') wra.close rdb.sysread(1) # wait for parent to nuke us |