summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-27 16:38:37 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-27 16:38:37 +0000
commit5ffa775fac4ccda5d036c57d7db86d65b6ccd598 (patch)
tree972b2c12b07f2d1c216a073b01bb79f75f463ae3
parent293ed16e64ddfc86e991e35dc6f0f131916a33db (diff)
SC_TZNAME_MAX can also be infinite
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--spec/ruby/library/etc/sysconf_spec.rb2
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 34dcf6e..5c7ad31 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