Skip to content

Commit

Permalink
Remove meaningless IO#close_on_exec= spec [Feature #17745]
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jul 20, 2021
1 parent bc1323c commit 42745ec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/ruby/core/io/close_on_exec_spec.rb
Expand Up @@ -44,10 +44,6 @@
@io.close
-> { @io.close_on_exec = true }.should raise_error(IOError)
end

it "returns nil" do
@io.send(:close_on_exec=, true).should be_nil
end
end
end

Expand Down

0 comments on commit 42745ec

Please sign in to comment.