added a strange crashing test
--- MacRuby/branches/experimental/test_roxor.rb 2009-03-25 12:14:55 UTC (rev 1147)
+++ MacRuby/branches/experimental/test_roxor.rb 2009-03-25 12:16:10 UTC (rev 1148)
@@ -840,6 +840,13 @@
def bar(a = foo); end
bar
}
+
+ assert '42', %{
+ def foo() yield 1, 2 end
+ x = 1
+ w = 42
+ foo { |x, y = :y| p w }
+ }
end
test "blocks" do