diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-11 14:32:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-11 14:32:15 +0000 |
commit | 3c1f1c33488f79a1c4cb95eb67d3f1832ab51078 (patch) | |
tree | 8c4faec3dec66db67f5b82f95a122d729fb54d84 /test | |
parent | 1b157084a4fa5d6190a22dff0bfc5c66b6b75a43 (diff) | |
download | ruby-3c1f1c33488f79a1c4cb95eb67d3f1832ab51078.tar.gz |
test_env.rb: a failure on appveyor
* test/ruby/test_env.rb (test_huge_value): Windows 8 seems having a
limit on single environment variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_env.rb b/test/ruby/test_env.rb index 892e9b7bd6..749f0c5b08 100644 --- a/test/ruby/test_env.rb +++ b/test/ruby/test_env.rb @@ -457,7 +457,7 @@ class TestEnv < Test::Unit::TestCase def test_huge_value huge_value = "bar" * 40960 ENV["foo"] = "bar" - if /mswin|mingw/ =~ RUBY_PLATFORM && windows_version < 6 + if /mswin|mingw/ =~ RUBY_PLATFORM && windows_version < 7 assert_raise(Errno::EINVAL) { ENV["foo"] = huge_value } assert_equal("bar", ENV["foo"]) else |