Skip to content

Commit

Permalink
Of course I can't do thing right the first time.
Browse files Browse the repository at this point in the history
  • Loading branch information
herwinw committed Sep 27, 2023
1 parent 5d613a8 commit 57a5f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/io/pread_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
@file.pread(maxlen, 0).should == "1234"
end

it "converts maxlen to Integer using #to_int" do
it "converts offset to Integer using #to_int" do
offset = mock('offset')
offset.should_receive(:to_int).and_return(0)
@file.pread(4, offset).should == "1234"
Expand Down

0 comments on commit 57a5f1b

Please sign in to comment.