Sha256: 330012193614f9d408e5ea6c542dc707ea46a19b18cbf5a9d00d8f742f859c23

Contents?: true

Size: 336 Bytes

Versions: 110

Compression:

Stored size: 336 Bytes

Contents

fails:String#setbyte allows changing bytes in multi-byte characters
fails:String#setbyte can invalidate a String's encoding
fails:String#setbyte sets a byte at an index greater than String size
fails:String#setbyte raises a RuntimeError if self is frozen
fails:String#setbyte raises a TypeError unless the second argument is an Integer

Version data entries

110 entries across 42 versions & 4 rubygems

Version Path
backports-3.3.1 tags/1.8.6/core/string/setbyte_spec.rb
backports-3.3.1 tags/1.8.7/core/string/setbyte_spec.rb
backports-3.3.0 tags/1.8.6/core/string/setbyte_spec.rb
backports-3.3.0 tags/1.8.7/core/string/setbyte_spec.rb
backports-3.2.0 tags/1.8.7/core/string/setbyte_spec.rb
backports-3.2.0 tags/1.8.6/core/string/setbyte_spec.rb
backports-3.1.1 tags/1.8.6/core/string/setbyte_spec.rb
backports-3.1.1 tags/1.8.7/core/string/setbyte_spec.rb
backports-3.1.0 tags/1.8.7/core/string/setbyte_spec.rb
backports-3.1.0 tags/1.8.6/core/string/setbyte_spec.rb