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
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/backports-3.12.0/frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/backports-3.12.0/frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb
backports-3.16.0 frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb
backports-3.16.0 frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/backports-3.15.0/frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/backports-3.15.0/frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb
backports-3.15.0 frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb
backports-3.15.0 frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb
backports-3.14.0 frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb
backports-3.14.0 frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb
backports-3.13.0 frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb
backports-3.13.0 frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb
backports-3.12.0 frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb
backports-3.12.0 frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb
backports-3.11.4 spec/tags/1.8.7/core/string/setbyte_spec.rb
backports-3.11.4 frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb
backports-3.11.4 frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb
backports-3.11.4 spec/tags/1.8.6/core/string/setbyte_spec.rb
backports-3.11.3 frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb
backports-3.11.3 spec/tags/1.8.6/core/string/setbyte_spec.rb