[前][次][番号順一覧][スレッド一覧]

ruby-changes:52255

From: eregon <ko1@a...>
Date: Sun, 19 Aug 2018 05:15:13 +0900 (JST)
Subject: [ruby-changes:52255] eregon:r64459 (trunk): Simplify to a more standardized Socket SCM constant in specs

eregon	2018-08-19 04:36:41 +0900 (Sun, 19 Aug 2018)

  New Revision: 64459

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64459

  Log:
    Simplify to a more standardized Socket SCM constant in specs

  Modified files:
    trunk/spec/ruby/library/socket/constants/constants_spec.rb
Index: spec/ruby/library/socket/constants/constants_spec.rb
===================================================================
--- spec/ruby/library/socket/constants/constants_spec.rb	(revision 64458)
+++ spec/ruby/library/socket/constants/constants_spec.rb	(revision 64459)
@@ -89,12 +89,7 @@ describe "Socket::Constants" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/constants/constants_spec.rb#L89
 
   platform_is_not :windows do
     it 'defines SCM options' do
-      platform_is :darwin, :freebsd, :solaris do
-        Socket::Constants.should have_constant('SCM_CREDS')
-      end
-      platform_is_not :darwin, :freebsd, :solaris do
-        Socket::Constants.should have_constant('SCM_CREDENTIALS')
-      end
+      Socket::Constants.should have_constant('SCM_RIGHTS')
     end
 
     it 'defines error options' do

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]