File tree 4 files changed +0
-14
lines changed
spec/truffle/tags/core/string
4 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,3 @@ fails:String#chomp! when passed '' removes more than one trailing newlines
23
23
fails:String#chomp! when passed '' removes more than one trailing carriage return, newline pairs
24
24
fails:String#chomp! when passed '' returns nil when self is empty
25
25
fails:String#chomp! when passed '\n' removes one trailing carriage return
26
- fails:String#chomp! when passed '\n' removes one trailing carrige return, newline pair
27
- fails:String#chomp! when passed '\n' returns nil when self is empty
28
- fails:String#chomp! when passed a String returns nil if the argument does not match the trailing characters
29
- fails:String#chomp! when passed a String returns nil when self is empty
30
- fails:String#chomp removes the final carriage return, newline from a non-ASCII String
31
- fails:String#chomp! returns nil when the String is not modified
32
- fails:String#chomp! removes the final carriage return, newline from a non-ASCII String
33
- fails:String#chomp! removes the final carriage return, newline from a multibyte String
Original file line number Diff line number Diff line change 1
1
fails:String#to_f treats leading characters of self as a floating point number
2
2
fails:String#to_f treats special float value strings as characters
3
3
fails:String#to_f allows for underscores, even in the decimal side
4
- fails:String#to_f returns 0 for strings with any non-digit in them
5
- fails:String#to_f returns 0 for strings with leading underscores
6
4
fails:String#to_f takes an optional sign
7
- fails:String#to_f returns 0.0 if the conversion fails
Original file line number Diff line number Diff line change @@ -50,5 +50,3 @@ fails:String#to_i with bases parses a String in base 33
50
50
fails:String#to_i with bases parses a String in base 34
51
51
fails:String#to_i with bases parses a String in base 35
52
52
fails:String#to_i with bases parses a String in base 36
53
- fails:String#to_i returns the correct Bignum for long strings
54
-
Original file line number Diff line number Diff line change 1
- fails:String#to_s taints the result when self is tainted
2
1
fails:String#to_s returns a new instance of String when called on a subclass
You can’t perform that action at this time.
0 commit comments