Sha256: 217df50207a62af28d54ab5831b697069e6cd6d4025fc0a291bbc94b29bb4e30

Contents?: true

Size: 1.69 KB

Versions: 55

Compression:

Stored size: 1.69 KB

Contents

fails:IO.open uses the external encoding specified in the mode argument
fails:IO.open uses the external and the internal encoding specified in the mode argument
fails:IO.open uses the external encoding specified via the :external_encoding option
fails:IO.open uses the internal encoding specified via the :internal_encoding option
fails:IO.open uses the colon-separated encodings specified via the :encoding option
fails:IO.open ingores the :encoding option when the :external_encoding option is present
fails:IO.open ingores the :encoding option when the :internal_encoding option is present
fails:IO.open uses the encoding specified via the :mode option hash
fails:IO.open ignores the :internal_encoding option when the same as the external encoding
fails:IO.open sets internal encoding to nil when passed '-'
fails:IO.open sets binmode from mode string
fails:IO.open does not set binmode without being asked
fails:IO.open sets binmode from :binmode option
fails:IO.open does not set binmode from false :binmode
fails:IO.open raises an error if passed binary/text mode two ways
fails:IO.open sets external encoding to binary with binmode in mode string
fails:IO.open sets external encoding to binary with :binmode option
fails:IO.open does not use binary encoding when mode encoding is specified
fails:IO.open does not use binary encoding when :encoding option is specified
fails:IO.open does not use binary encoding when :external_encoding option is specified
fails:IO.open does not use binary encoding when :internal_encoding option is specified
fails:IO.open coerces mode with #to_int
fails:IO.open coerces options as second argument with #to_hash
fails:IO.open raises ArgumentError if not passed a hash or nil for options

Version data entries

55 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/io/open_spec.rb
backports-3.16.0 frozen_old_spec/tags/1.8.6/core/io/open_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/io/open_spec.rb
backports-3.15.0 frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
backports-3.14.0 frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
backports-3.13.0 frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
backports-3.12.0 frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
backports-3.11.4 frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
backports-3.11.4 spec/tags/1.8.6/core/io/open_spec.rb
backports-3.11.3 frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
backports-3.11.3 spec/tags/1.8.6/core/io/open_spec.rb
backports-3.11.2 spec/tags/1.8.6/core/io/open_spec.rb
backports-3.11.2 frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
backports-3.11.1 spec/tags/1.8.6/core/io/open_spec.rb
backports-3.11.1 frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
backports-3.11.0 frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
backports-3.11.0 spec/tags/1.8.6/core/io/open_spec.rb
backports-3.10.3 spec/tags/1.8.6/core/io/open_spec.rb
backports-3.10.3 frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
backports-3.10.2 spec/tags/1.8.6/core/io/open_spec.rb