diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-27 16:38:37 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-27 16:38:37 +0000 |
commit | 5ffa775fac4ccda5d036c57d7db86d65b6ccd598 (patch) | |
tree | 972b2c12b07f2d1c216a073b01bb79f75f463ae3 /spec | |
parent | 293ed16e64ddfc86e991e35dc6f0f131916a33db (diff) | |
download | ruby-5ffa775fac4ccda5d036c57d7db86d65b6ccd598.tar.gz |
SC_TZNAME_MAX can also be infinite
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/library/etc/sysconf_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/etc/sysconf_spec.rb b/spec/ruby/library/etc/sysconf_spec.rb index 34dcf6e470..5c7ad31836 100644 --- a/spec/ruby/library/etc/sysconf_spec.rb +++ b/spec/ruby/library/etc/sysconf_spec.rb @@ -24,7 +24,7 @@ platform_is_not :windows do 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 |