Skip to content

Commit af113ae

Browse files
eregonandrykonchin
andcommitted
Apply suggestion
Co-authored-by: Andrii Konchyn <andry.konchin@gmail.com>
1 parent 2ef6421 commit af113ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)