Skip to content

Commit 3e77551

Browse files
eregonandrykonchin
andauthored
Apply suggestion
Co-authored-by: Andrii Konchyn <andry.konchin@gmail.com>
1 parent 5d7af9d commit 3e77551

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/io/shared/new.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
@io.internal_encoding.to_s.should == 'IBM866'
209209
end
210210

211-
it "does not use binmode argument when mode encoding is specified" do
211+
it "does not use binary encoding when mode encoding is specified along with binmode: true option" do
212212
@io = IO.send(@method, @fd, 'w:iso-8859-1', binmode: true)
213213
@io.external_encoding.to_s.should == 'ISO-8859-1'
214214
end

0 commit comments

Comments
 (0)