aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_mutex_m.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-10 12:02:52 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-10 12:02:52 +0000
commite6f6033b16a64eb04f2e8c3ea970356a61ac1621 (patch)
tree9128790f950ab7d8fccab7c5240dafffbd60d045 /test/test_mutex_m.rb
parent2f8ddcd8cd324b23b291de1d21a63dd2dc6f2910 (diff)
downloadruby-e6f6033b16a64eb04f2e8c3ea970356a61ac1621.tar.gz
* lib/optparse.rb: suppress a warning.
* test/test_mutex_m.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_mutex_m.rb')
-rw-r--r--test/test_mutex_m.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_mutex_m.rb b/test/test_mutex_m.rb
index ab8927dd0f..a29f3f44b5 100644
--- a/test/test_mutex_m.rb
+++ b/test/test_mutex_m.rb
@@ -5,6 +5,7 @@ require 'mutex_m'
class TestMutexM < Test::Unit::TestCase
def test_cv_wait
o = Object.new
+ o.instance_variable_set(:@foo, nil)
o.extend(Mutex_m)
c = ConditionVariable.new
t = Thread.start {