[macruby-changes] [2553] MacRuby/trunk/test_vm/defined.rb

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 16 19:18:25 PDT 2009


Revision: 2553
          http://trac.macosforge.org/projects/ruby/changeset/2553
Author:   lsansonetti at apple.com
Date:     2009-09-16 19:18:24 -0700 (Wed, 16 Sep 2009)
Log Message:
-----------
added failing test

Modified Paths:
--------------
    MacRuby/trunk/test_vm/defined.rb

Modified: MacRuby/trunk/test_vm/defined.rb
===================================================================
--- MacRuby/trunk/test_vm/defined.rb	2009-09-17 02:14:59 UTC (rev 2552)
+++ MacRuby/trunk/test_vm/defined.rb	2009-09-17 02:18:24 UTC (rev 2553)
@@ -28,4 +28,6 @@
 assert 'nil', "p defined? A"
 assert '"constant"', "A = 123; p defined? A"
 
-assert 'nil', "p defined?(yield)"
\ No newline at end of file
+assert 'nil', "p defined?(yield)"
+
+assert '"expression"', "p (defined? FOO && 42)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090916/ccabff24/attachment.html>


More information about the macruby-changes mailing list