diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-05 13:27:22 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-05 13:27:22 +0000 |
commit | 9194b220a59435a5a16d62a3ccc93b5adc784cd1 (patch) | |
tree | 654b01c15ba23e9a43ee9cc7bce65d24c54613e2 /test/ruby/test_optimization.rb | |
parent | 01740f0c273c89f7bcff3d5014d73c8ff6fb1986 (diff) | |
download | ruby-9194b220a59435a5a16d62a3ccc93b5adc784cd1.tar.gz |
* test/ruby: get rid of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_optimization.rb')
-rw-r--r-- | test/ruby/test_optimization.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_optimization.rb b/test/ruby/test_optimization.rb index fe25cdf1c9..91356e8ed4 100644 --- a/test/ruby/test_optimization.rb +++ b/test/ruby/test_optimization.rb @@ -163,7 +163,7 @@ class TestRubyOptimization < Test::Unit::TestCase tailcall_optimization: true, trace_instruction: false, } - iseq = RubyVM::InstructionSequence.new(<<-EOF, "Bug#4082", bug4082, nil, option).eval + RubyVM::InstructionSequence.new(<<-EOF, "Bug#4082", bug4082, nil, option).eval class #{self.class}::Tailcall def fact_helper(n, res) if n == 1 @@ -187,7 +187,7 @@ class TestRubyOptimization < Test::Unit::TestCase tailcall_optimization: true, trace_instruction: false, } - iseq = RubyVM::InstructionSequence.new(<<-EOF, "Bug#6901", bug6901, nil, option).eval + RubyVM::InstructionSequence.new(<<-EOF, "Bug#6901", bug6901, nil, option).eval def identity(val) val end |