[macruby-changes] [2618] MacRuby/trunk/spec/frozen/tags/macruby/core/string

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 22 23:00:10 PDT 2009


Revision: 2618
          http://trac.macosforge.org/projects/ruby/changeset/2618
Author:   lsansonetti at apple.com
Date:     2009-09-22 23:00:09 -0700 (Tue, 22 Sep 2009)
Log Message:
-----------
untag specs that now pass

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/chomp_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/comparison_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/count_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/delete_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/each_line_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/end_with_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/gsub_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/include_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/index_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/lines_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/match_tags.txt

Removed Paths:
-------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/center_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/crypt_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/element_set_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/insert_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/ljust_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/rjust_tags.txt

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/string/center_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/center_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/center_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,2 +0,0 @@
-fails:String#center with length, padding calls #to_int to convert length to an integer
-fails:String#center with length, padding calls #to_str to convert padstr to a String

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/chomp_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/chomp_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/chomp_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,6 +1,2 @@
-critical:String#chomp with separator calls #to_str to convert separator to a String
 fails:String#chomp with separator removes carriage return (except \r) chars multiple times when separator is an empty string
-fails:String#chomp with separator taints result when self is tainted
-fails:String#chomp with separator raises a TypeError if separator can't be converted to a string
 fails:String#chomp! with separator modifies self in place and returns self
-fails:String#chomp! with separator raises a RuntimeError when self is frozen

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/comparison_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/comparison_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/comparison_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,3 +1,2 @@
 fails:String#<=> with String ignores subclass differences
 fails:String#<=> with String compares individual characters based on their ascii value
-fails:String#<=> calls #to_str to convert the argument to a String and calls #<=> to compare with self

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/count_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/count_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/count_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,4 +1,2 @@
 fails:String#count negates sets starting with ^
 fails:String#count counts all chars in a sequence
-fails:String#count raises a TypeError when a set arg can't be converted to a string
-fails:String#count calls #to_str to convert each set arg to a String

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/string/crypt_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/crypt_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/crypt_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,3 +0,0 @@
-fails:String#crypt taints the result if either salt or self is tainted
-fails:String#crypt doesn't return subclass instances
-fails:String#crypt calls #to_str to converts the salt arg to a String

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/delete_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/delete_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/delete_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,6 +1,2 @@
 fails:String#delete negates sets starting with ^
 fails:String#delete deletes all chars in a sequence
-fails:String#delete taints result when self is tainted
-fails:String#delete raises a TypeError when one set arg can't be converted to a string
-fails:String#delete! raises a TypeError when self is frozen
-fails:String#delete tries to convert each set arg to a string using to_str

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/each_line_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/each_line_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/each_line_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -4,5 +4,4 @@
 fails:String#each_line yields subclass instances for subclasses
 fails:String#each_line not care if the string is modified while substituting
 fails:String#each_line returns an enumerator when no block given
-fails:String#each_line tries to convert the separator to a string using to_str
 fails:String#each_line does not care if the string is modified while substituting

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/string/element_set_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/element_set_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/element_set_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,10 +0,0 @@
-fails:String#[]= with index sets the code of the character at idx to char modulo 256
-fails:String#[]= with index raises an IndexError without changing self if idx is outside of self
-fails:String#[]= with index sets the code to char % 256
-fails:String#[]= with index raises a TypeError when self is frozen
-fails:String#[]= with String raises an IndexError without changing self if idx is outside of self
-fails:String#[]= with String raises a TypeError when self is frozen
-fails:String#[]= with String raises a TypeError if other_str can't be converted to a String
-fails:String#[]= with index, count raises a TypeError if other_str is a type other than String
-fails:String#[]= with String calls to_int on index
-fails:String#[]= with String calls #to_str to convert other to a String

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/end_with_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/end_with_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/end_with_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,2 +1 @@
 fails:String#end_with? works for multibyte strings
-fails:String#end_with? converts its argument using :to_str

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/gsub_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/gsub_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/gsub_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,18 +1,9 @@
 fails:String#gsub with pattern and replacement doesn't interpret regexp metacharacters if pattern is a string
-fails:String#gsub with pattern and replacement taints the result if the original string or replacement is tainted
 fails:String#gsub with pattern and replacement untrusts the result if the original string or replacement is untrusted
-fails:String#gsub with pattern and replacement tries to convert pattern to a string using to_str
-fails:String#gsub with pattern and replacement raises a TypeError when pattern can't be converted to a string
-fails:String#gsub with pattern and replacement raises a TypeError when replacement can't be converted to a string
 fails:String#gsub with pattern and block raises a RuntimeError if the string is modified while substituting
 fails:String#gsub with pattern and block untrusts the result if the original string or replacement is untrusted
-fails:String#gsub! with pattern and replacement taints self if replacement is tainted
 fails:String#gsub! with pattern and replacement untrusts self if replacement is untrusted
-fails:String#gsub! with pattern and replacement raises a TypeError when self is frozen
-fails:String#gsub! with pattern and block taints self if block's result is tainted
 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
+fails:String#gsub with pattern and Hash raises a TypeError if the hash has a default proc

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/include_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/include_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/include_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,5 +1,2 @@
-fails:String#include? with String ignores subclass differences
-fails:String#include? with String raises a TypeError if other can't be converted to string
 fails:String#include? with Fixnum returns true if self contains the given char
 fails:String#include? with Fixnum uses fixnum % 256
-fails:String#include? with String tries to convert other to string using to_str

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/index_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/index_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/index_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,12 +1,4 @@
-fails:String#index with object raises a TypeError if obj isn't a String, Fixnum or Regexp
-fails:String#index with Fixnum character values over 255 (256th ASCII character) always result in nil
-fails:String#index with Fixnum negative character values always result in nil
-fails:String#index with Fixnum returns nil if the character isn't found
 fails:String#index with String behaves the same as String#index(char) for one-character strings
 fails:String#index with String returns the index of the first occurrence of the given substring
-fails:String#index with String ignores string subclasses
 fails:String#index with String starts the search at the given offset
 fails:String#index with Regexp behaves the same as String#index(string) for escaped string regexps
-fails:String#index with object tries to convert obj to a string via to_str
-fails:String#index with String converts start_offset to an integer via to_int
-fails:String#index with Regexp converts start_offset to an integer via to_int

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/string/insert_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/insert_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/insert_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,4 +0,0 @@
-fails:String#insert with index, other raises a TypeError if other can't be converted to string
-fails:String#insert with index, other raises a TypeError if self is frozen
-fails:String#insert with index, other converts index to an integer using to_int
-fails:String#insert with index, other converts other to a string using to_str

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/lines_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/lines_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/lines_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,6 +1,4 @@
-fails:String#lines taints substrings that are passed to the block if self is tainted
 fails:String#lines appends multiple successive newlines together when the separator is an empty string
 fails:String#lines yields subclass instances for subclasses
-fails:String#lines tries to convert the separator to a string using to_str
 fails:String#lines does not care if the string is modified while substituting
 fails:String#lines accept string-like separator

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/string/ljust_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/ljust_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/ljust_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,2 +0,0 @@
-fails:String#ljust with length, padding tries to convert length to an integer using to_int
-fails:String#ljust with length, padding tries to convert padstr to a string using to_str

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/match_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/match_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/match_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,4 +1 @@
-fails:String#=~ raises a TypeError if a obj is a string
 fails:String#match tries to convert pattern to a string via to_str
-fails:String#match raises a TypeError if pattern is not a regexp or a string
-fails:String#=~ invokes obj.=~ with self if obj is neither a string nor regexp

Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/string/rjust_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/rjust_tags.txt	2009-09-23 05:58:18 UTC (rev 2617)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/rjust_tags.txt	2009-09-23 06:00:09 UTC (rev 2618)
@@ -1,2 +0,0 @@
-fails:String#rjust with length, padding tries to convert length to an integer using to_int
-fails:String#rjust with length, padding tries to convert padstr to a string using to_str
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090922/7871b984/attachment-0001.html>


More information about the macruby-changes mailing list