diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-08-19 19:36:23 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-08-19 19:36:49 -0700 |
commit | 8f5be0c822362e113919145d52b9eeebba711236 (patch) | |
tree | 9b0bf5578da9296003a96656cf2ef03df27479ac | |
parent | cea38abf1f76b5b795b9341406ee814303f5752b (diff) | |
download | ruby_posix_mq-8f5be0c822362e113919145d52b9eeebba711236.tar.gz |
We shouldn't unnecessarily hog system resources.
-rw-r--r-- | test/test_posix_mq.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_posix_mq.rb b/test/test_posix_mq.rb index 78a005b..777b9bf 100644 --- a/test/test_posix_mq.rb +++ b/test/test_posix_mq.rb @@ -30,7 +30,7 @@ class Test_POSIX_MQ < Test::Unit::TestCase def test_gc assert_nothing_raised do 2025.times { POSIX_MQ.new(@path, :rw) } - 2025.times { a = POSIX_MQ.new(@path, :rw); a.to_io } + 2025.times { @mq = POSIX_MQ.new(@path, :rw); @mq.to_io } end end |