diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-15 01:55:09 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-15 01:55:09 +0000 |
commit | 36e41fd950dc119bd4ce3868d746cdaff43b4dda (patch) | |
tree | bf25d2991ef90912183f44884665082d3d144004 /test | |
parent | 0c95c744ceb9aada0d3ca0e073c53909002ad966 (diff) | |
download | ruby-36e41fd950dc119bd4ce3868d746cdaff43b4dda.tar.gz |
test_env.rb: change mingw branch
https://github.com/MSP-Greg/ruby-loco/blob/e287cb739113da289271a017a1e7fa46cbfe47d9/patches/gte20600/test-ruby-test_env.rb_test_huge_value.patch
From: MSP-Greg (Greg L) <Greg.mpls@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_env.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/ruby/test_env.rb b/test/ruby/test_env.rb index 546828440b..b9b8fc8b04 100644 --- a/test/ruby/test_env.rb +++ b/test/ruby/test_env.rb @@ -455,12 +455,9 @@ class TestEnv < Test::Unit::TestCase end def test_huge_value - if ENV.key?('APPVEYOR') && /mingw/ =~ RUBY_PLATFORM - skip 'failing on AppVeyor MinGW build for now' - end huge_value = "bar" * 40960 ENV["foo"] = "bar" - if /mswin|mingw/ =~ RUBY_PLATFORM && windows_version < 7 + if /mswin/ =~ RUBY_PLATFORM && windows_version < 7 assert_raise(Errno::EINVAL) { ENV["foo"] = huge_value } assert_equal("bar", ENV["foo"]) else |