* vm_eval.c (yield_under): yields self the same as 1.8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shugo 2009-12-10 08:24:11 +00:00
parent 4ba0fe5fd3
commit 9071538179
3 changed files with 5 additions and 6 deletions

View file

@ -238,7 +238,7 @@ class TestModule < Test::Unit::TestCase
end
assert("foo", Other.class_eval_test)
assert_equal([], Other.class_eval { |*args| args })
assert_equal([Other], Other.class_eval { |*args| args })
end
def test_const_defined?