Skip to content

Commit

Permalink
Merge pull request #1119 from herwinw/io_read_getc
Browse files Browse the repository at this point in the history
Cleanup of IO#getc usage in specs of IO#read
  • Loading branch information
andrykonchin authored Dec 6, 2023
2 parents 3006e4a + 9d3f65c commit 56e16b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/io/read_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
@io.read(0).should == ''
@io.pos.should == 0

@io.getc.chr.should == '1'
@io.getc.should == '1'
end

it "is at end-of-file when everything has been read" do
Expand Down

0 comments on commit 56e16b7

Please sign in to comment.