aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/marshaltestlib.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-21 03:37:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-21 03:37:40 +0000
commit4e786ee1629b799a4af03ee935ede263cdcde05e (patch)
tree013a5ae3ae337253e5e92ac336cb5bfc136e2094 /test/ruby/marshaltestlib.rb
parentf04debed3b82ea6c76455cbd2abf848439809bfb (diff)
downloadruby-4e786ee1629b799a4af03ee935ede263cdcde05e.tar.gz
* test/ruby/{marshaltestlib,test_marshal}.rb: suppressed warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/marshaltestlib.rb')
-rw-r--r--test/ruby/marshaltestlib.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/marshaltestlib.rb b/test/ruby/marshaltestlib.rb
index 8c55a086af..3c8f1228a3 100644
--- a/test/ruby/marshaltestlib.rb
+++ b/test/ruby/marshaltestlib.rb
@@ -286,8 +286,8 @@ module MarshalTestLib
o = "abc"
o.extend(Mod1)
str = MyString.new(o, "c")
- marshal_equal(str) { |o|
- assert(o.instance_eval { @v }).kind_of?(Mod1)
+ marshal_equal(str) { |v|
+ assert(v.instance_eval { @v }).kind_of?(Mod1)
}
end