mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@8d74d49
This commit is contained in:
parent
c940397116
commit
d80e44deec
157 changed files with 581 additions and 543 deletions
|
@ -34,6 +34,10 @@ describe 'UDPSocket#recvfrom_nonblock' do
|
|||
it 'raises IO::WaitReadable' do
|
||||
lambda { @server.recvfrom_nonblock(1) }.should raise_error(IO::WaitReadable)
|
||||
end
|
||||
|
||||
it 'returns :wait_readable with exception: false' do
|
||||
@server.recvfrom_nonblock(1, exception: false).should == :wait_readable
|
||||
end
|
||||
end
|
||||
|
||||
platform_is_not :windows do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue