[macruby-changes] [3028] MacRuby/trunk/spec/frozen/tags/macruby

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 16 16:58:45 PST 2009


Revision: 3028
          http://trac.macosforge.org/projects/ruby/changeset/3028
Author:   eloy.de.enige at gmail.com
Date:     2009-11-16 16:58:44 -0800 (Mon, 16 Nov 2009)
Log Message:
-----------
And tagged failing examples again. It depends on the wind as Laurent would say.

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/hash/flatten_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/block_given_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/eval_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/named_captures_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/chop_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/unpack_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/class_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/def_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/divmod_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/bind_tags.txt

Added Paths:
-----------
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/send_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/method/name_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/dump_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/unboundmethod/name_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/socket/ipsocket/
    MacRuby/trunk/spec/frozen/tags/macruby/library/socket/ipsocket/recvfrom_tags.txt

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/hash/flatten_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/hash/flatten_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/hash/flatten_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -1 +1,6 @@
 # DO NOT remove me, this spec may pass on some systems but fail on others.
+fails:Hash#flatten sets each even index of the Array to a key of the Hash
+fails:Hash#flatten sets each odd index of the Array to the value corresponding to the previous element
+fails:Hash#flatten does not recursively flatten Array values when called without arguments
+fails:Hash#flatten recursively flattens Array values when called with an argument >= 2
+fails:Hash#flatten recursively flattens Array values to the given depth

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -62,3 +62,15 @@
 fails:Kernel#Integer parses the value as a decimal number if there's a leading 0d and a base of 10
 fails:Kernel#Integer is a positive decimal number if there's a leading +0d and a base of 10
 fails:Kernel#Integer is a negative decimal number if there's a leading -0d and a base of 10
+fails:Kernel.Integer raises an ArgumentError if the String ends with a null byte
+fails:Kernel.Integer ignores leading whitespace
+fails:Kernel.Integer ignores trailing whitespace
+fails:Kernel.Integer ignores an embedded _
+fails:Kernel.Integer ignores a single leading +
+fails:Kernel.Integer makes the number negative if there's a leading -
+fails:Kernel#Integer raises an ArgumentError if the String ends with a null byte
+fails:Kernel#Integer ignores leading whitespace
+fails:Kernel#Integer ignores trailing whitespace
+fails:Kernel#Integer ignores an embedded _
+fails:Kernel#Integer ignores a single leading +
+fails:Kernel#Integer makes the number negative if there's a leading -

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/block_given_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/block_given_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/block_given_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -1,3 +1,4 @@
 fails:Kernel#block_given? returns false when a method defined by define_method is called with a block
 fails:Kernel.block_given? returns false when a method defined by define_method is called with a block
 fails:self.send(:block_given?) returns false when a method defined by define_method is called with a block
+fails:self.send(:block_given?) returns true if and only if a block is supplied

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/eval_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/eval_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/eval_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -3,3 +3,4 @@
 fails:Kernel#eval accepts a Proc object as a binding
 fails:Kernel#eval uses the filename of the binding if none is provided
 fails:Kernel#eval can be aliased
+fails:Kernel#eval includes file and line information in syntax error

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/send_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/send_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/send_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -0,0 +1 @@
+fails:Kernel#send raises an ArgumentError if called with fewer arguments than required parameters

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/method/name_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/method/name_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/method/name_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -0,0 +1,2 @@
+fails:Method#name returns the name of the method
+fails:Method#name returns the name even when aliased

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/named_captures_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/named_captures_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/named_captures_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -1 +1,2 @@
 # DO NOT remove me, this spec may pass on some systems but fail on others.
+fails:Regexp#named_captures sets the keys of the Hash to the names of the capture groups

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/chop_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/chop_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/chop_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -1,2 +1,3 @@
 fails:String#chop! raises a TypeError when self is frozen
 fails:String#chop! raises a RuntimeError when self is frozen
+fails:String#chop returns a new string with the last character removed

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/string/dump_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/dump_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/dump_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -0,0 +1 @@
+fails:String#dump includes .force_encoding(name) if the encoding isn't ASCII compatiable

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/unpack_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/unpack_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/unpack_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -10,3 +10,4 @@
 fails:String#unpack with 'V' and 'v' directives returns an array by decoding self according to the format string
 fails:String#unpack with 'N' and 'n' directives returns an array by decoding self according to the format string
 fails:String#unpack returns an array by decoding self in little-endian (native format) order according to the format string
+fails:String#unpack with 'm' directive returns an array by decoding self according to the format string

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/unboundmethod/name_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/unboundmethod/name_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/unboundmethod/name_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -0,0 +1,2 @@
+fails:UnboundMethod#name returns the name of the method
+fails:UnboundMethod#name returns the name even when aliased

Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/class_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/class_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/class_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -1 +1,2 @@
 # This spec is marked as failing because it messes the top level object, probably a bug in #eval
+fails:A Class Definitions extending an object raises a TypeError when trying to extend numbers

Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/def_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/def_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/def_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -1,3 +1,5 @@
 fails:A method definition inside an instance_eval creates a class method when the receiver is a class
 fails:A method definition in an eval creates an instance method
 fails:A method definition in an eval creates a class method
+fails:An instance method with a default argument evaluates the default when required arguments precede it
+fails:An instance method with a default argument prefers to assign to a default argument before a splat argument

Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -31,3 +31,4 @@
 fails:Regexp with character classes doesn't match Unicode Nl characters with [[:word:]]
 fails:Regexp with character classes doesn't match Unicode No characters with [[:word:]]
 fails:Regexp with character classes doesn't match non-ASCII characters with [[:ascii:]]
+fails:Regexp with character classes matches Unicode Pf characters with [[:punct:]]

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/divmod_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/divmod_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/divmod_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -1 +1,2 @@
 fails:BigDecimal#divmod Can be reversed with * and +
+fails:BigDecimal#divmod array contains quotient and modulus as BigDecimal

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/ipsocket/recvfrom_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/ipsocket/recvfrom_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/ipsocket/recvfrom_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -0,0 +1 @@
+fails:Socket::IPSocket#recvfrom returns an array with the data and connection info

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/bind_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/bind_tags.txt	2009-11-17 00:58:17 UTC (rev 3027)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/bind_tags.txt	2009-11-17 00:58:44 UTC (rev 3028)
@@ -1,2 +1,5 @@
 fails:Socket#bind binds to a port
 fails:Socket#bind raises an error if we try to bind to an already bound port
+fails:Socket#bind on SOCK_STREAM socket binds to a port
+fails:Socket#bind on SOCK_STREAM socket returns 0 if successful
+fails:Socket#bind on SOCK_STREAM socket raises Errno::EINVAL when binding to an already bound port
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091116/7d7b9914/attachment-0001.html>


More information about the macruby-changes mailing list