[macruby-changes] [1050] MacRuby/branches/experimental/test_roxor.rb

source_changes at macosforge.org source_changes at macosforge.org
Sat Mar 21 16:49:52 PDT 2009


Revision: 1050
          http://trac.macosforge.org/projects/ruby/changeset/1050
Author:   eloy.de.enige at gmail.com
Date:     2009-03-21 16:49:52 -0700 (Sat, 21 Mar 2009)
Log Message:
-----------
Added failing test for File.open with a string file mode.

Modified Paths:
--------------
    MacRuby/branches/experimental/test_roxor.rb

Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090321/d5970d53/attachment-0001.html>


More information about the macruby-changes mailing list