[macruby-changes] [1184] MacRuby/branches/experimental
source_changes at macosforge.org
source_changes at macosforge.org
Thu Mar 26 16:37:00 PDT 2009
Revision: 1184
http://trac.macosforge.org/projects/ruby/changeset/1184
Author: eloy.de.enige at gmail.com
Date: 2009-03-26 16:37:00 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
Tagged failing examples of the predefined spec and added it to the partially green list. TODO: Had to comment require 'stringio' which makes a test fail.
Modified Paths:
--------------
MacRuby/branches/experimental/rakelib/spec.rake
MacRuby/branches/experimental/spec/frozen/language/predefined_spec.rb
Added Paths:
-----------
MacRuby/branches/experimental/spec/frozen/tags/macruby/language/predefined_tags.txt
Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake 2009-03-26 23:36:45 UTC (rev 1183)
+++ MacRuby/branches/experimental/rakelib/spec.rake 2009-03-26 23:37:00 UTC (rev 1184)
@@ -38,6 +38,7 @@
metaclass
next
precedence
+ predefined
}
MSPEC_RUN = "./miniruby -v -I./mspec/lib -I./lib ./mspec/bin/mspec-run"
Modified: MacRuby/branches/experimental/spec/frozen/language/predefined_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/language/predefined_spec.rb 2009-03-26 23:36:45 UTC (rev 1183)
+++ MacRuby/branches/experimental/spec/frozen/language/predefined_spec.rb 2009-03-26 23:37:00 UTC (rev 1184)
@@ -1,6 +1,8 @@
require File.dirname(__FILE__) + '/../spec_helper'
-require 'stringio'
+# MacRuby TODO: We need StringIO for one spec: Predefined global $_ is set to the last line read by e.g. StringIO#gets
+# require 'stringio'
+
# The following tables are excerpted from Programming Ruby: The Pragmatic Programmer's Guide'
# Second Edition by Dave Thomas, Chad Fowler, and Andy Hunt, page 319-22.
#
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/predefined_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/predefined_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/predefined_tags.txt 2009-03-26 23:37:00 UTC (rev 1184)
@@ -0,0 +1,9 @@
+fails:Predefined global $~ is set at the method-scoped level rather than block-scoped
+fails:Predefined global $stdout is the same as $DEFAULT_OUTPUT from 'English' library
+fails:Predefined global $_ is set to the last line read by e.g. StringIO#gets
+fails:Predefined global $_ is set at the method-scoped level rather than block-scoped
+fails:Execution variable $: does not include on the taint check level > 1
+fails:The predefined standard object nil is an instance of NilClass
+fails:The predefined standard object true is an instance of TrueClass
+fails:The predefined standard object false is an instance of FalseClass
+fails:The predefined global constants includes TOPLEVEL_BINDING
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090326/e0e5ec66/attachment-0001.html>
More information about the macruby-changes
mailing list