diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | KNOWNBUGS.rb | 11 |
2 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Thu Aug 28 23:28:57 2008 Yusuke Endoh <mame@tsg.ne.jp> + + * KNOWNBUGS.rb: add a test. see [ruby-dev:36028] + Thu Aug 28 21:43:05 2008 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c, include/ruby/win32.h (rb_w32_open): overlapped file diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb index 39dc6a9b8b..3db710a73a 100644 --- a/KNOWNBUGS.rb +++ b/KNOWNBUGS.rb @@ -2,3 +2,14 @@ # This test file concludes tests which point out known bugs. # So all tests will cause failure. # + +assert_equal 'ok', %q{ + class Foo + define_method(:foo) do |&b| + b.call + end + end + Foo.new.foo do + break :ok + end +}, '[ruby-dev:36028]' |