Permalink
Browse files

added a failing test

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3008 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
1 parent 86da889 commit 13db4d8874d1b22711db072bb3ffa301720354f3 @lrz lrz committed Nov 14, 2009
Showing with 10 additions and 0 deletions.
  1. +10 −0 test_vm/block.rb
View
10 test_vm/block.rb
@@ -710,3 +710,13 @@ def f
end
p f
}
+
+assert ':ok', %{
+ class X
+ def foo(&b); b.call; end
+ end
+ class Y < X
+ def foo(&b); super; end
+ end
+ Y.new.foo { p :ok }
+}

0 comments on commit 13db4d8

Please sign in to comment.