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

source_changes at macosforge.org source_changes at macosforge.org
Fri Mar 20 17:53:52 PDT 2009


Revision: 1033
          http://trac.macosforge.org/projects/ruby/changeset/1033
Author:   lsansonetti at apple.com
Date:     2009-03-20 17:53:52 -0700 (Fri, 20 Mar 2009)
Log Message:
-----------
moved module_eval tests to the eval section

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

Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb	2009-03-21 00:51:28 UTC (rev 1032)
+++ MacRuby/branches/experimental/test_roxor.rb	2009-03-21 00:53:52 UTC (rev 1033)
@@ -525,9 +525,6 @@
   assert "M", "module M; end; p M"
   assert "Module", "module M; end; p M.class"
 
-  assert ":ok", "module M; module_eval 'p :ok'; end"
-  assert ":ok", "module M; module_eval 'def self.foo; :ok; end'; end; p M.foo"
-
 end
 
 test "attr" do
@@ -1099,6 +1096,9 @@
     p Foo.new.bar('p foo', binding)
   }
 
+  assert ":ok", "module M; module_eval 'p :ok'; end"
+  assert ":ok", "module M; module_eval 'def self.foo; :ok; end'; end; p M.foo"
+
 end
 =end
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090320/8837e810/attachment-0001.html>


More information about the macruby-changes mailing list