blob: 30b4876fe3e8666a7c2832cd95f6767e527848b4 (
plain)
1
2
3
4
5
6
7
8
|
require_relative '../../spec_helper'
require_relative 'fixtures/classes'
describe "IO#fcntl" do
it "raises IOError on closed stream" do
-> { IOSpecs.closed_io.fcntl(5, 5) }.should raise_error(IOError)
end
end
|