Added failing test for File.open with a string file mode.
--- MacRuby/branches/experimental/test_roxor.rb 2009-03-21 23:25:58 UTC (rev 1049)
+++ MacRuby/branches/experimental/test_roxor.rb 2009-03-21 23:49:52 UTC (rev 1050)
@@ -1304,3 +1304,9 @@
assert '4', "def f(a, b, d, g); end; p method(:f).arity"
end
+
+test "io" do
+
+ assert ":ok", "File.open('#{__FILE__}', 'r') { p :ok }"
+
+end
\ No newline at end of file