1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove meaningless IO#close_on_exec= spec [Feature #17745]

This commit is contained in:
Nobuyoshi Nakada 2021-07-20 19:33:25 +09:00
parent bc1323ce5c
commit 42745ecae3
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -44,10 +44,6 @@ describe "IO#close_on_exec=" do
@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