Skip to content
Permalink
Browse files

Merge pull request #807 from jstepien/untagging

Untag some passing specs
  • Loading branch information
alex committed Jul 16, 2013
2 parents 15a608b + 06d783a commit 12a12c0e9004aafc41fd73363548b04704814729
@@ -6,11 +6,5 @@ fails:Array#inspect returns a US-ASCII string for an empty Array
fails:Array#inspect copies the ASCII-compatible encoding of the result of inspecting the first element
fails:Array#inspect copies the ASCII-incompatible encoding of the result of inspecting the first element
fails:Array#inspect raises if inspecting two elements produces incompatible encodings
fails:Array#inspect returns a string
fails:Array#inspect returns '[]' for an empty Array
fails:Array#inspect calls inspect on its elements and joins the results with commas
fails:Array#inspect represents a recursive element with '[...]'
fails:Array#inspect does not taint the result if the Array is tainted but empty
fails:Array#inspect does not untrust the result if the Array is untrusted but empty
fails:Array#inspect use the default external encoding if it is ascii compatible
fails:Array#inspect use US-ASCII encoding if the default external encoding is not ascii compatible
@@ -6,11 +6,5 @@ fails:Array#to_s returns a US-ASCII string for an empty Array
fails:Array#to_s copies the ASCII-compatible encoding of the result of inspecting the first element
fails:Array#to_s copies the ASCII-incompatible encoding of the result of inspecting the first element
fails:Array#to_s raises if inspecting two elements produces incompatible encodings
fails:Array#to_s returns a string
fails:Array#to_s returns '[]' for an empty Array
fails:Array#to_s calls inspect on its elements and joins the results with commas
fails:Array#to_s represents a recursive element with '[...]'
fails:Array#to_s does not taint the result if the Array is tainted but empty
fails:Array#to_s does not untrust the result if the Array is untrusted but empty
fails:Array#to_s use the default external encoding if it is ascii compatible
fails:Array#to_s use US-ASCII encoding if the default external encoding is not ascii compatible
@@ -1,2 +1 @@
fails:Bignum#div returns self divided by other
fails:Bignum#div raises a TypeError when given a non-Integer
@@ -1,2 +1 @@
fails:Bignum#/ returns self divided by other
fails:Bignum#/ raises a TypeError when given a non-Integer

This file was deleted.

@@ -2,7 +2,4 @@ fails:File.size? calls #to_io to convert the argument to an IO
fails:File.size? accepts a File argument
fails:File.size calls #to_io to convert the argument to an IO
fails:File.size accepts a File argument
fails:File#size returns the cached size of the file if subsequently deleted
fails:File#size returns the file's current size even if modified
fails:File#size raises an IOError on a closed file
fails:File#size follows symlinks if necessary

This file was deleted.

@@ -1,3 +1 @@
fails:Fixnum#& returns self bitwise AND other
fails:Fixnum#& returns self bitwise AND a Bignum
fails:Fixnum#& raises a TypeError when passed a Float
@@ -1,2 +1 @@
fails:Fixnum#| returns self bitwise OR other
fails:Fixnum#| raises a TypeError when passed a Float
@@ -1,3 +1 @@
fails:Fixnum#^ returns self bitwise EXCLUSIVE OR other
fails:Fixnum#^ returns self bitwise EXCLUSIVE OR a Bignum
fails:Fixnum#^ raises a TypeError when passed a Float
@@ -1,5 +1,3 @@
fails:IO.pipe creates a two-ended pipe
fails:IO.pipe returns two IO objects
fails:IO.pipe returns instances of a subclass when called on a subclass
fails:IO.pipe sets the external encoding of the read end to the default when passed no arguments
fails:IO.pipe sets the internal encoding of the read end to the default when passed no arguments
@@ -1,3 +1,2 @@
fails:Kernel#freeze freezes immediate values
fails:Kernel#freeze causes mutative calls to raise RuntimeError
fails:Kernel#freeze causes instance_variable_set to raise RuntimeError
@@ -1,6 +1,4 @@
fails:String#index with object tries to convert obj to a string via to_str
fails:String#index with String behaves the same as String#index(char) for one-character strings
fails:String#index with String ignores string subclasses
fails:String#index with String starts the search at the given offset
fails:String#index with String starts the search at offset + self.length if offset is negative
fails:String#index with String returns nil if the substring isn't found
@@ -1,23 +1,14 @@
fails:String#rindex with object tries to convert obj to a string via to_str
fails:String#rindex with String behaves the same as String#rindex(char) for one-character strings
fails:String#rindex with String behaves the same as String#rindex(?char) for one-character strings
fails:String#rindex with String returns the index of the last occurrence of the given substring
fails:String#rindex with String doesn't set $~
fails:String#rindex with String ignores string subclasses
fails:String#rindex with String starts the search at the given offset
fails:String#rindex with String starts the search at offset + self.length if offset is negative
fails:String#rindex with String returns nil if the substring isn't found
fails:String#rindex with String tries to convert start_offset to an integer via to_int
fails:String#rindex with String raises a TypeError when given offset is nil
fails:String#rindex with Regexp behaves the same as String#rindex(string) for escaped string regexps
fails:String#rindex with Regexp returns the index of the first match from the end of string of regexp
fails:String#rindex with Regexp sets $~ to MatchData of match and nil when there's none
fails:String#rindex with Regexp starts the search at the given offset
fails:String#rindex with Regexp starts the search at offset + self.length if offset is negative
fails:String#rindex with Regexp returns nil if the substring isn't found
fails:String#rindex with Regexp supports \G which matches at the given start offset
fails:String#rindex with Regexp tries to convert start_offset to an integer via to_int
fails:String#rindex with Regexp raises a TypeError when given offset is nil
fails:String#rindex with Regexp reverse matches multibyte UTF-8 chars
fails:String#rindex with Regexp returns the reverse character index of a multibyte character
fails:String#rindex with Regexp returns the character index before the finish
@@ -2,5 +2,4 @@ fails:String#scan respects $KCODE when the pattern collapses to nothing
fails:String#scan sets $~ to MatchData of last match and nil when there's none
fails:String#scan supports \G which matches the end of the previous match / string start for first match
fails:String#scan with pattern and block sets $~ for access from the block
fails:String#scan with pattern and block restores $~ after leaving the block
fails:String#scan with pattern and block sets $~ to MatchData of last match and nil when there's none for access from outside
@@ -1,2 +1 @@
fails:Time#hash returns a Fixnum
fails:Time#hash is stable

0 comments on commit 12a12c0

Please sign in to comment.
You can’t perform that action at this time.