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

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 28 16:41:31 PDT 2009


Revision: 2416
          http://trac.macosforge.org/projects/ruby/changeset/2416
Author:   eloy.de.enige at gmail.com
Date:     2009-08-28 16:41:30 -0700 (Fri, 28 Aug 2009)
Log Message:
-----------
Tagged failing examples.

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/foreach_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/singleton_methods_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/spawn_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/random/int_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/gsub_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/predefined_tags.txt

Added Paths:
-----------
    MacRuby/trunk/spec/frozen/tags/macruby/core/complex/divide_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/
    MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/each_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/each_with_index_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/new_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/next_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/peek_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/rewind_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/with_index_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/absolute_path_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/to_path_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/file/world_writable_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/float/rationalize_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/hash/assoc_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/hash/compare_by_identity_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/hash/flatten_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/public_method_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/matchdata/element_reference_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/method/parameters_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/nil/
    MacRuby/trunk/spec/frozen/tags/macruby/core/nil/rationalize_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/i_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/rationalize_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/range/max_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/range/min_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/rational/rationalize_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/fixed_encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/named_captures_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/capitalize_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/downcase_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/swapcase_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/upcase_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/not_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/
    MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/modifiers_tags.txt

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/complex/divide_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/complex/divide_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/complex/divide_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1 @@
+fails:Complex#/ with Float returns Complex(Infinity, Infinity) when given zero

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/each_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/each_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/each_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,2 @@
+fails:Enumerator#each calls #each on the underlying object until it's exhausted
+fails:Enumerator#each calls the method given in the constructor until it's exhausted

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/each_with_index_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/each_with_index_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/each_with_index_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1 @@
+fails:Enumerator#each_with_index raises an ArgumentError if passed extra arguments

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/new_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/new_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/new_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1 @@
+fails:Enumerator.new accepts a block

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/next_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/next_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/next_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,3 @@
+fails:Enumerator#next returns the next element of the enumeration
+fails:Enumerator#next raises a StopIteration exception at the end of the stream
+fails:Enumerator#next rewinds the enumerator after raising StopIteration

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/peek_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/peek_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/peek_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,5 @@
+fails:Enumerator#peek returns the next element in self
+fails:Enumerator#peek does not advance the position of the current element
+fails:Enumerator#peek can be called repeatedly without advancing the position of the current element
+fails:Enumerator#peek works in concert with #rewind
+fails:Enumerator#peek raises StopIteration if called on a finished enumerator

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/rewind_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/rewind_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/rewind_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,4 @@
+fails:Enumerator#rewind resets the enumerator to its initial state
+fails:Enumerator#rewind has no effect on a new enumerator
+fails:Enumerator#rewind has no effect if called multiple, consecutive times
+fails:Enumerator#rewind calls the enclosed object's rewind method if one exists

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/with_index_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/with_index_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/with_index_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,4 @@
+fails:Enumerator#with_index accepts an optional argument when given a block
+fails:Enumerator#with_index accepts an optional argument when not given a block
+fails:Enumerator#with_index numbers indices from the given index when given an offset but no block
+fails:Enumerator#with_index numbers indices from the given index when given an offset and block

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/file/absolute_path_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/file/absolute_path_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/file/absolute_path_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,5 @@
+fails:File.absolute_path returns the argument if it's an absolute pathname
+fails:File.absolute_path resolves paths relative to the current working directory
+fails:File.absolute_path doesn't expand '~'
+fails:File.absolute_path accepts a second argument of a directory from which to resolve the path
+fails:File.absolute_path calls #to_path on its argument

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/file/to_path_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/file/to_path_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/file/to_path_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1 @@
+fails:File#to_path preserves the encoding of the path

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/file/world_writable_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/file/world_writable_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/file/world_writable_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1 @@
+fails:File.world_writable? returns nil if the file does not exist

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/float/rationalize_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/float/rationalize_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/float/rationalize_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,5 @@
+fails:Float#rationalize returns self as a simplified Rational with no argument
+fails:Float#rationalize simplifies self to the degree specified by a Rational argument
+fails:Float#rationalize simplifies self to the degree specified by a Float argument
+fails:Float#rationalize raises a FloatDomainError for Infinity
+fails:Float#rationalize raises a FloatDomainError for NaN

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/hash/assoc_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/hash/assoc_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/hash/assoc_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1 @@
+fails:Hash#assoc only returns the first matching key-value pair for identity hashes

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/hash/compare_by_identity_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/hash/compare_by_identity_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/hash/compare_by_identity_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,7 @@
+fails:Hash#compare_by_identity causes future comparisons on the receiver to be made by identity
+fails:Hash#compare_by_identity causes #compare_by_identity? to return true
+fails:Hash#compare_by_identity uses the semantics of BasicObject#equal? to determine key identity
+fails:Hash#compare_by_identity regards #dup'd objects as having different identities
+fails:Hash#compare_by_identity regards #clone'd objects as having different identities
+fails:Hash#compare_by_identity? returns true once #compare_by_identity has been invoked on self
+fails:Hash#compare_by_identity? returns true when called multiple times on the same ident hash

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/hash/flatten_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/hash/flatten_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/hash/flatten_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,5 @@
+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/io/foreach_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/foreach_tags.txt	2009-08-28 23:40:33 UTC (rev 2415)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/foreach_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -6,3 +6,4 @@
 fails:IO::foreach converts second parameter to string and uses as separator
 fails:IO::foreach converts second parameter to string and uses as separator, with each to_str calling for each lines of the IOs
 fails:IO::foreach converts first parameter to string and uses as file name
+fails:IO::foreach returns an Enumerator when called without a block

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/public_method_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/public_method_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/public_method_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,2 @@
+fails:Kernel#public_method raises a NameError when called on a private method
+fails:Kernel#public_method raises a NameError when called on a protected method

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/singleton_methods_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/singleton_methods_tags.txt	2009-08-28 23:40:33 UTC (rev 2415)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/singleton_methods_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -1,2 +1,3 @@
 fails:Kernel#singleton_methods returns a list of the names of singleton methods in the object
 fails:Kernel#singleton_methods returns a list of the names of singleton methods in the object and its ancestors and mixed-in modules
+fails:Kernel#singleton_methods returns a list of names of singleton methods in object and superclasses when passed true

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/spawn_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/spawn_tags.txt	2009-08-28 23:40:33 UTC (rev 2415)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/spawn_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -1,2 +1,3 @@
 critical:Kernel.spawn redirects STDERR to the given file descriptior if if :err => Fixnum
 critical:Kernel.spawn redirects STDERR to the given file if :err => String
+fails:Kernel.spawn sets the child's environment variables according to a supplied hash

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/matchdata/element_reference_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/matchdata/element_reference_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/matchdata/element_reference_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1 @@
+fails:MatchData#[Symbol] returns matches in the String's encoding

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/method/parameters_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/method/parameters_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/method/parameters_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,28 @@
+fails:Method#parameters returns an empty Array when the method expects no arguments
+fails:Method#parameters returns [[:req,:name]] for a method expecting one required argument called 'name'
+fails:Method#parameters returns [[:req,:a],[:req,:b]] for a method expecting two required arguments called 'a' and 'b''
+fails:Method#parameters returns [[:block,:a]] for a method expecting one block argument called 'a'
+fails:Method#parameters returns [[:req,:a],[:block,:b] for a method expecting a required argument ('a') and a block argument ('b')
+fails:Method#parameters returns [[:req,:a],[:req,:b],[:block,:c] for a method expecting two required arguments ('a','b') and a block argument ('c')
+fails:Method#parameters returns [[:opt,:a]] for a method expecting one optional argument ('a')
+fails:Method#parameters returns [[:req,:a],[:opt,:b]] for a method expecting one required argument ('a') and one optional argument ('b')
+fails:Method#parameters returns [[:req,:a],[:opt,:b],[:opt,:c]] for a method expecting one required argument ('a') and two optional arguments ('b','c')
+fails:Method#parameters returns [[:req,:a],[:req,:b],[:opt,:c]] for a method expecting two required arguments ('a','b') and one optional arguments ('c')
+fails:Method#parameters returns [[:opt,:a],[:block,:b]] for a method expecting one required argument ('a') and one block argument ('b')
+fails:Method#parameters returns [[:req,:a],[:opt,:b],[:block,:c]] for a method expecting one required argument ('a'), one optional argument ('b'), and a block ('c')
+fails:Method#parameters returns [[:req,:a],[:opt,:b],[:opt,:c],[:block,:d]] for a method expecting one required argument ('a'), two optional arguments ('b','c'), and a block ('d')
+fails:Method#parameters returns [[:rest,:a]] for a method expecting a single splat argument ('a')
+fails:Method#parameters returns [[:req,:a],[:rest,:b]] for a method expecting a splat argument ('a') and a required argument ('b')
+fails:Method#parameters returns [[:req,:a],[:req,:b],[:rest,:c]] for a method expecting two required arguments ('a','b') and a splat argument ('c')
+fails:Method#parameters returns [[:req,:a],[:opt,:b],[:rest,:c]] for a method expecting a required argument ('a','b'), an optional argument ('b'), and a splat argument ('c')
+fails:Method#parameters returns [[:req,:a],[:req,:b],[:opt,:b],[:rest,:d]] for a method expecting two required arguments ('a','b'), an optional argument ('c'), and a splat argument ('d')
+fails:Method#parameters returns [[:req,:a],[:opt,:b],[:opt,:c],[:rest,:d]] for a method expecting a required argument ('a'), two optional arguments ('b','c'), and a splat argument ('d')
+fails:Method#parameters returns [[:rest,:a],[:block,:b]] for a method expecting a splat argument ('a') and a block argument ('b')
+fails:Method#parameters returns [[:req,:a],[:rest,:b],[:block,:c]] for a method expecting a required argument ('a'), a splat argument ('b'), and a block ('c')
+fails:Method#parameters returns [[:req,:a],[:req,:b],[:rest,:c],[:block,:d]] for a method expecting two required arguments ('a','b'), a splat argument ('c'), and a block ('d')
+fails:Method#parameters returns [[:req,:a],[:opt,:b],[:rest,:c],[:block,:d]] for a method expecting a required argument ('a'), a splat argument ('c'), and a block ('d')
+fails:Method#parameters returns [[:req,:a],[:req,:b],[:opt,:c],[:block,:d]] for a method expecting two required arguments ('a','b'), an optional argument ('c'), a splat argument ('d'), and a block ('e')
+fails:Method#parameters returns [[:rest,:a],[:req,:b]] for a method expecting a splat argument ('a') and a required argument ('b')
+fails:Method#parameters returns [[:rest,:a],[:req,:b],[:req,:c]] for a method expecting a splat argument ('a') and two required arguments ('b','c')
+fails:Method#parameters returns [[:rest,:a],[:req,:b],[:block,:c]] for a method expecting a splat argument ('a'), a required argument ('b'), and a block ('c')
+fails:Method#parameters works with ->(){} as the value of an optional argument

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/nil/rationalize_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/nil/rationalize_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/nil/rationalize_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,2 @@
+fails:NilClass#rationalize returns 0/1
+fails:NilClass#rationalize ignores arguments

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/i_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/i_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/i_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,3 @@
+fails:Numeric#i returns a Complex object
+fails:Numeric#i sets the real part to 0
+fails:Numeric#i sets the imaginary part to self

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/rationalize_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/rationalize_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/numeric/rationalize_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,3 @@
+fails:Numeric#rationalize returns a Rational object
+fails:Numeric#rationalize uses self as the numerator
+fails:Numeric#rationalize uses 1 as the denominator

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/random/int_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/random/int_tags.txt	2009-08-28 23:40:33 UTC (rev 2415)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/int_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -10,3 +10,4 @@
 fails:Random#int returns an ArgumentError when the argument is 1
 fails:Random#int returns an ArgumentError when the argument is 0
 fails:Random#int returns an ArgumentError when the argument is negative
+fails:Random#int converts each endpoint of the supplied Range to Integers

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/range/max_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/range/max_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/range/max_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,4 @@
+fails:Range#max given a block passes each pair of values in the range to the block
+fails:Range#max given a block passes each pair of elements to the block in reversed order
+fails:Range#max given a block calls #> and #< on the return value of the block
+fails:Range#max given a block returns the element the block determines to be the maximum

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/range/min_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/range/min_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/range/min_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,4 @@
+fails:Range#min given a block passes each pair of values in the range to the block
+fails:Range#min given a block passes each pair of elements to the block where the first argument is the current element, and the last is the first element
+fails:Range#min given a block calls #> and #< on the return value of the block
+fails:Range#min given a block returns the element the block determines to be the minimum

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/rational/rationalize_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/rational/rationalize_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/rational/rationalize_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,3 @@
+fails:Rational#rationalize returns self with no argument
+fails:Rational#rationalize simplifies self to the degree specified by a Rational argument
+fails:Rational#rationalize simplifies self to the degree specified by a Float argument

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/encoding_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/encoding_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,11 @@
+fails:Regexp#encoding returns an Encoding object
+fails:Regexp#encoding defaults to US-ASCII if the Regexp contains only US-ASCII character
+fails:Regexp#encoding returns US_ASCII if the 'n' modifier is supplied and only US-ASCII characters are present
+fails:Regexp#encoding returns ASCII-8BIT if the 'n' modifier is supplied and non-US-ASCII characters are present
+fails:Regexp#encoding defaults to UTF-8 if \u escapes appear
+fails:Regexp#encoding defaults to UTF-8 if a literal UTF-8 character appears
+fails:Regexp#encoding returns UTF-8 if the 'u' modifier is supplied
+fails:Regexp#encoding returns Windows-31J if the 's' modifier is supplied
+fails:Regexp#encoding returns EUC_JP if the 'e' modifier is supplied
+fails:Regexp#encoding upgrades the encoding to that of an embedded String
+fails:Regexp#encoding ignores the default_internal encoding

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/fixed_encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/fixed_encoding_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/fixed_encoding_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,4 @@
+fails:Regexp#fixed_encoding? returns true if the 'u' modifier was supplied to the Regexp
+fails:Regexp#fixed_encoding? returns true if the 's' modifier was supplied to the Regexp
+fails:Regexp#fixed_encoding? returns true if the 'e' modifier was supplied to the Regexp
+fails:Regexp#fixed_encoding? returns true if the Regexp contains a \u escape

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/named_captures_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/named_captures_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/regexp/named_captures_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1 @@
+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/gsub_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/gsub_tags.txt	2009-08-28 23:40:33 UTC (rev 2415)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/gsub_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -13,3 +13,6 @@
 fails:String#gsub! with pattern and block untrusts self if block's result is untrusted
 fails:String#gsub! with pattern and replacement raises a RuntimeError when self is frozen
 fails:String#gsub! with pattern and block raises a RuntimeError when self is frozen
+fails:String#gsub with pattern and Hash raises a TypeError if the hash has a default proc
+fails:String#gsub with pattern and Hash untrusts the result if the original string is untrusted
+fails:String#gsub with pattern and Hash untrusts the result if a hash value is untrusted

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/capitalize_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/capitalize_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/capitalize_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,9 @@
+fails:Symbol#capitalize returns a Symbol
+fails:Symbol#capitalize converts the first character to uppercase if it is ASCII
+fails:Symbol#capitalize leaves the first character alone if it is not an alphabetical ASCII character
+fails:Symbol#capitalize converts subsequent uppercase ASCII characters to their lowercase equivalents
+fails:Symbol#capitalize leaves ASCII characters already in the correct case as they were
+fails:Symbol#capitalize works with both upper- and lowercase ASCII characters in the same Symbol
+fails:Symbol#capitalize leaves uppercase Unicode characters as they were
+fails:Symbol#capitalize leaves lowercase Unicode characters as they were
+fails:Symbol#capitalize leaves non-alphabetic ASCII characters as they were

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/downcase_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/downcase_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/downcase_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,5 @@
+fails:Symbol#downcase returns a Symbol
+fails:Symbol#downcase converts uppercase ASCII characters to their lowercase equivalents
+fails:Symbol#downcase leaves lowercase Unicode characters as they were
+fails:Symbol#downcase leaves uppercase Unicode characters as they were
+fails:Symbol#downcase leaves non-alphabetic ASCII characters as they were

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/swapcase_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/swapcase_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/swapcase_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,7 @@
+fails:Symbol#swapcase returns a Symbol
+fails:Symbol#swapcase converts lowercase ASCII characters to their uppercase equivalents
+fails:Symbol#swapcase converts uppercase ASCII characters to their lowercase equivalents
+fails:Symbol#swapcase works with both upper- and lowercase ASCII characters in the same Symbol
+fails:Symbol#swapcase leaves uppercase Unicode characters as they were
+fails:Symbol#swapcase leaves lowercase Unicode characters as they were
+fails:Symbol#swapcase leaves non-alphabetic ASCII characters as they were

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/upcase_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/upcase_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/symbol/upcase_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,4 @@
+fails:Symbol#upcase returns a Symbol
+fails:Symbol#upcase converts lowercase ASCII characters to their uppercase equivalents
+fails:Symbol#upcase leaves lowercase Unicode characters as they were
+fails:Symbol#upcase leaves non-alphabetic ASCII characters as they were

Added: MacRuby/trunk/spec/frozen/tags/macruby/language/not_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/not_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/not_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,3 @@
+fails:not() returns false if the argument is true
+fails:not() returns true if the argument is false
+fails:not() returns true if the argument is nil

Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/predefined_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/predefined_tags.txt	2009-08-28 23:40:33 UTC (rev 2415)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/predefined_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -1,2 +1,3 @@
 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 the current directory

Added: MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/character_classes_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,28 @@
+fails:Regexp with character classes matches Unicode digits with [[:alnum:]]
+fails:Regexp with character classes matches Unicode space characters with [[:blank:]]
+fails:Regexp with character classes matches Unicode format characters with [[:cntrl:]]
+fails:Regexp with character classes matches Unicode digits with [[:digit:]]
+fails:Regexp with character classes matches Unicode digits with [[:graph:]]
+fails:Regexp with character classes matches Unicode private-use characters with [[:graph:]]
+fails:Regexp with character classes matches Unicode lowercase letter characters with [[:lower:]]
+fails:Regexp with character classes doesn't match Unicode marks with [[:lower:]]
+fails:Regexp with character classes matches Unicode lowercase letter characters with [[:print:]]
+fails:Regexp with character classes matches Unicode uppercase letter characters with [[:print:]]
+fails:Regexp with character classes matches Unicode title-case characters with [[:print:]]
+fails:Regexp with character classes matches Unicode digits with [[:print:]]
+fails:Regexp with character classes matches Unicode private-use characters with [[:print:]]
+fails:Regexp with character classes doesn't match Unicode digits with [[:punct:]]
+fails:Regexp with character classes matches Unicode Pd characters with [[:punct:]]
+fails:Regexp with character classes matches Unicode Pe characters with [[:punct:]]
+fails:Regexp with character classes matches Unicode Pf characters with [[:punct:]]
+fails:Regexp with character classes doesn't match Unicode format characters with [[:punct:]]
+fails:Regexp with character classes matches Unicode Zs characters with [[:space:]]
+fails:Regexp with character classes matches Unicode Zl characters with [[:space:]]
+fails:Regexp with character classes matches Unicode Zp characters with [[:space:]]
+fails:Regexp with character classes doesn't match Unicode lowercase characters with [[:upper:]]
+fails:Regexp with character classes matches Unicode uppercase characters with [[:upper:]]
+fails:Regexp with character classes doesn't match Unicode title-case characters with [[:upper:]]
+fails:Regexp with character classes matches Unicode lowercase characters with [[:word:]]
+fails:Regexp with character classes matches Unicode uppercase characters with [[:word:]]
+fails:Regexp with character classes matches Unicode title-case characters with [[:word:]]
+fails:Regexp with character classes matches Unicode decimal digits with [[:word:]]

Added: MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,2 @@
+fails:Regexps with encoding modifiers supports /n (Normal encoding)
+fails:Regexps with encoding modifiers supports /s (Windows_31J encoding)

Added: MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/modifiers_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/modifiers_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/modifiers_tags.txt	2009-08-28 23:41:30 UTC (rev 2416)
@@ -0,0 +1,2 @@
+fails:Regexps with modifers supports /o (once)
+fails:Regexps with modifers invokes substitutions for /o only once
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090828/ba8333ed/attachment-0001.html>


More information about the macruby-changes mailing list