Bug #1062: Error: test_def_method
http://redmine.ruby-lang.org/issues/show/1062

起票者: Kazuhiro NISHIYAMA
ステータス: Open, 優先度: Normal
担当者: Masatoshi Seki
Reproducible Version: 1.8-head

test_def_method(TestERBCore)とtest_def_method(TestERBCoreWOStrScan)でErrorがでています。

http://www.rubyist.net/~akr/chkbuild/debian/ruby-1.8/last

  1) Error:
test_def_method(TestERBCore):
ArgumentError: wrong number of arguments (3 for 2)
    /home/akr/chkbuild/tmp/build/ruby-1.8/20090127T101411/ruby/test/erb/test_erb.rb:240:in `def_erb_method'
    /home/akr/chkbuild/tmp/build/ruby-1.8/20090127T101411/ruby/test/erb/test_erb.rb:240:in `test_def_method'
    /home/akr/chkbuild/tmp/build/ruby-1.8/20090127T101411/ruby/test/erb/test_erb.rb:239:in `module_eval'
    /home/akr/chkbuild/tmp/build/ruby-1.8/20090127T101411/ruby/test/erb/test_erb.rb:239:in `test_def_method'

  2) Error:
test_def_method(TestERBCoreWOStrScan):
ArgumentError: wrong number of arguments (3 for 2)
    /home/akr/chkbuild/tmp/build/ruby-1.8/20090127T101411/ruby/test/erb/test_erb.rb:240:in `def_erb_method'
    /home/akr/chkbuild/tmp/build/ruby-1.8/20090127T101411/ruby/test/erb/test_erb.rb:240:in `test_def_method'
    /home/akr/chkbuild/tmp/build/ruby-1.8/20090127T101411/ruby/test/erb/test_erb.rb:239:in `module_eval'
    /home/akr/chkbuild/tmp/build/ruby-1.8/20090127T101411/ruby/test/erb/test_erb.rb:239:in `test_def_method'


----------------------------------------
http://redmine.ruby-lang.org