Skip to content

Commit

Permalink
Remove autoclose set operation
Browse files Browse the repository at this point in the history
This operation was performed after the tests, it makes little sense to
test this here.
  • Loading branch information
herwinw committed Sep 10, 2023
1 parent 644c0c1 commit 65b1c82
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/io/shared/new.rb
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@
it "accepts an :autoclose option" do
@io = IO.send(@method, @fd, 'w', autoclose: false)
@io.should_not.autoclose?
@io.autoclose = true
end

it "accepts any truthy option :autoclose" do
Expand Down

0 comments on commit 65b1c82

Please sign in to comment.