[macruby-changes] [2263] MacRuby/trunk/test_vm/eval.rb
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 7 16:51:18 PDT 2009
Revision: 2263
http://trac.macosforge.org/projects/ruby/changeset/2263
Author: vincent.isambart at gmail.com
Date: 2009-08-07 16:51:17 -0700 (Fri, 07 Aug 2009)
Log Message:
-----------
added an other similar failing test
Modified Paths:
--------------
MacRuby/trunk/test_vm/eval.rb
Modified: MacRuby/trunk/test_vm/eval.rb
===================================================================
--- MacRuby/trunk/test_vm/eval.rb 2009-08-07 23:23:48 UTC (rev 2262)
+++ MacRuby/trunk/test_vm/eval.rb 2009-08-07 23:51:17 UTC (rev 2263)
@@ -97,3 +97,5 @@
assert '42', 'y = eval("proc {|x| p x}"); y.call(42)'
assert '42', 'eval("def test; a = 42; p a; end; test")'
+assert '42', 'eval("a = 42; def test; a = 0; end; test; p a", TOPLEVEL_BINDING)'
+assert '42', 'eval("a = 42; def test; a = 0; end; test; p a")'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090807/c63bc5f2/attachment.html>
More information about the macruby-changes
mailing list