Revision: 1180 http://trac.macosforge.org/projects/ruby/changeset/1180 Author: eloy.de.enige@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
participants (1)
-
source_changes@macosforge.org