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

source_changes at macosforge.org source_changes at macosforge.org
Sun Mar 22 14:48:59 PDT 2009


Revision: 1066
          http://trac.macosforge.org/projects/ruby/changeset/1066
Author:   vincent.isambart at gmail.com
Date:     2009-03-22 14:48:59 -0700 (Sun, 22 Mar 2009)
Log Message:
-----------
added failing unless test

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

Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb	2009-03-22 21:30:05 UTC (rev 1065)
+++ MacRuby/branches/experimental/test_roxor.rb	2009-03-22 21:48:59 UTC (rev 1066)
@@ -145,6 +145,8 @@
   assert 'false', 'p (not true)'
   assert 'true', 'p !false'
   assert 'true', 'p (not false)'
+  
+  assert '42', 'puts "4#{:dummy unless true}2"'
 
   assert '42', "def foo; 42; end; def bar; p :nok; end; x = (foo || bar); p x"
   assert ":ok\n42", "def foo; p :ok; nil; end; def bar; 42; end; x = (foo || bar); p x"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090322/04e5aba3/attachment.html>


More information about the macruby-changes mailing list