mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@b65d01f
This commit is contained in:
parent
15d05f8120
commit
6998d75824
186 changed files with 3956 additions and 3339 deletions
|
@ -18,7 +18,12 @@ describe 'BasicSocket#sendmsg_nonblock' do
|
|||
|
||||
describe 'without a destination address' do
|
||||
it "raises #{SocketSpecs.dest_addr_req_error}" do
|
||||
-> { @client.sendmsg_nonblock('hello') }.should raise_error(SocketSpecs.dest_addr_req_error)
|
||||
-> {
|
||||
@client.sendmsg_nonblock('hello')
|
||||
}.should raise_error(SocketSpecs.dest_addr_req_error)
|
||||
-> {
|
||||
@client.sendmsg_nonblock('hello', exception: false)
|
||||
}.should raise_error(SocketSpecs.dest_addr_req_error)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue