[macruby-changes] [1180] MacRuby/branches/experimental

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 26 16:36:07 PDT 2009


Revision: 1180
          http://trac.macosforge.org/projects/ruby/changeset/1180
Author:   eloy.de.enige at gmail.com
Date:     2009-03-26 16:36:07 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
Tagged failing examples of the magic comment spec and added it to the partially green list.

Modified Paths:
--------------
    MacRuby/branches/experimental/rakelib/spec.rake

Added Paths:
-----------
    MacRuby/branches/experimental/spec/frozen/tags/macruby/language/magic_comment_tags.txt

Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake	2009-03-26 22:55:39 UTC (rev 1179)
+++ MacRuby/branches/experimental/rakelib/spec.rake	2009-03-26 23:36:07 UTC (rev 1180)
@@ -34,11 +34,12 @@
     encoding
     ensure
     loop
+    magic_comment
   }
   
   MSPEC_RUN = "./miniruby -v -I./mspec/lib -I./lib ./mspec/bin/mspec-run"
   
-  desc "Run all spec files should be fully green (known good)"
+  desc "Run all spec files that should be fully green (known good)"
   task :green do
     sh "#{MSPEC_RUN} #{FileList["spec/frozen/language/{#{KNOWN_GOOD.join(',')}}_spec.rb"].join(' ')}"
   end

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/magic_comment_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/magic_comment_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/magic_comment_tags.txt	2009-03-26 23:36:07 UTC (rev 1180)
@@ -0,0 +1,7 @@
+fails:Magic comment determines __ENCODING__
+fails:Magic comment is case-insensitive
+fails:Magic comment must be at the first line
+fails:Magic comment must be at the first of line
+fails:Magic comment can be after the shebang
+fails:Magic comment can take Emacs style
+fails:Magic comment can take vim style
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090326/afb4ae66/attachment-0001.html>


More information about the macruby-changes mailing list