ruby-changes:52364
From: eregon <ko1@a...>
Date: Tue, 28 Aug 2018 01:38:44 +0900 (JST)
Subject: [ruby-changes:52364] eregon:r64573 (trunk): SC_TZNAME_MAX can also be infinite
eregon 2018-08-28 01:38:37 +0900 (Tue, 28 Aug 2018) New Revision: 64573 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64573 Log: SC_TZNAME_MAX can also be infinite Modified files: trunk/spec/ruby/library/etc/sysconf_spec.rb Index: spec/ruby/library/etc/sysconf_spec.rb =================================================================== --- spec/ruby/library/etc/sysconf_spec.rb (revision 64572) +++ spec/ruby/library/etc/sysconf_spec.rb (revision 64573) @@ -24,7 +24,7 @@ platform_is_not :windows do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/etc/sysconf_spec.rb#L24 Etc.sysconf(Etc::SC_STREAM_MAX).should be_kind_of(Integer) should_be_integer_or_nil(Etc.sysconf(Etc::SC_SYMLOOP_MAX)) Etc.sysconf(Etc::SC_TTY_NAME_MAX).should be_kind_of(Integer) - Etc.sysconf(Etc::SC_TZNAME_MAX).should be_kind_of(Integer) + should_be_integer_or_nil(Etc.sysconf(Etc::SC_TZNAME_MAX)) Etc.sysconf(Etc::SC_VERSION).should be_kind_of(Integer) end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/