diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-15 16:50:37 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-15 16:50:37 +0000 |
commit | faa93e847da75c0b8f5bae70f8362f22865388a6 (patch) | |
tree | 578f369c8e2ef0410de361389f22ef0beb033f76 /KNOWNBUGS.rb | |
parent | 1c4f7a4c642f539f0bfc6db4234dde99d19c2b16 (diff) |
* eval.c (rb_f_block_given_p): fix to skip class frame.
[ruby-core:14813]
* KNOWNBUGS.rb, bootstraptest/test_method.rb: move solved test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'KNOWNBUGS.rb')
-rw-r--r-- | KNOWNBUGS.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb index 54ae030f66..7f6fa9274a 100644 --- a/KNOWNBUGS.rb +++ b/KNOWNBUGS.rb @@ -3,32 +3,6 @@ # So all tests will cause failure. # -assert_equal 'ok', %q{ - class C - define_method(:foo) { - if block_given? - :ng - else - :ok - end - } - end - C.new.foo {} -}, '[ruby-core:14813]' - -assert_equal 'ok', %q{ - class C - define_method(:foo) { - if block_given? - :ng - else - :ok - end - } - end - C.new.foo -}, '[ruby-core:14813]' - assert_equal %q{[:bar, :foo]}, %q{ def foo klass = Class.new do |