mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add guards for Solaris for socket specs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
946c080892
commit
686a4e2491
2 changed files with 6 additions and 6 deletions
|
@ -89,10 +89,10 @@ describe "Socket::Constants" do
|
|||
|
||||
platform_is_not :windows do
|
||||
it 'defines SCM options' do
|
||||
platform_is :darwin, :freebsd do
|
||||
platform_is :darwin, :freebsd, :solaris do
|
||||
Socket::Constants.should have_constant('SCM_CREDS')
|
||||
end
|
||||
platform_is_not :darwin, :freebsd do
|
||||
platform_is_not :darwin, :freebsd, :solaris do
|
||||
Socket::Constants.should have_constant('SCM_CREDENTIALS')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue