1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* bootstraptest/test_knownbug.rb: add a known-bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2008-04-07 03:28:23 +00:00
parent 4653fedd0c
commit 3f3fdb4869
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon Apr 7 12:26:32 2008 Koichi Sasada <ko1@atdot.net>
* bootstraptest/test_knownbug.rb: add a known-bug.
Mon Apr 7 12:15:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* range.c (range_each_func): should not leave a variable

View file

@ -97,3 +97,16 @@ assert_normal_exit %q{
g = "abc".enum_for(:scan, /./)
loop { g.next }
}, '[ruby-dev:34128]'
assert_equal %q{[:bar, :foo]}, %q{
def foo
klass = Class.new do
define_method(:bar) do
return :bar
end
end
[klass.new.bar, :foo]
end
foo
}, "[ ruby-Bugs-19304 ]"