File tree Expand file tree Collapse file tree 5 files changed +0
-46
lines changed
spec/truffle/tags/core/string Expand file tree Collapse file tree 5 files changed +0
-46
lines changed Original file line number Diff line number Diff line change 11fails:String#codepoints raises an ArgumentError when self has an invalid encoding and a method is called on the returned Enumerator
22fails:String#codepoints raises an ArgumentError if self's encoding is invalid and a block is given
3- fails:String#codepoints returns one codepoint for each character
4- fails:String#codepoints works for multibyte characters
5- fails:String#codepoints returns the codepoint corresponding to the character's position in the String's encoding
6- fails:String#codepoints round-trips to the original String using Integer#chr
73fails:String#codepoints raises an ArgumentError when no block is given if self has an invalid encoding
Original file line number Diff line number Diff line change 11fails:String#each_codepoint raises an ArgumentError when self has an invalid encoding and a method is called on the returned Enumerator
22fails:String#each_codepoint raises an ArgumentError if self's encoding is invalid and a block is given
3- fails:String#each_codepoint returns one codepoint for each character
4- fails:String#each_codepoint works for multibyte characters
5- fails:String#each_codepoint returns the codepoint corresponding to the character's position in the String's encoding
6- fails:String#each_codepoint round-trips to the original String using Integer#chr
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- fails:String#ord is equivalent to #codepoints.first
21fails:String#ord raises an ArgumentError if called on an empty String
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments