ruby-changes:52158
From: k0kubun <ko1@a...>
Date: Wed, 15 Aug 2018 10:55:14 +0900 (JST)
Subject: [ruby-changes:52158] k0kubun:r64366 (trunk): test_env.rb: change mingw branch
k0kubun 2018-08-15 10:55:09 +0900 (Wed, 15 Aug 2018) New Revision: 64366 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64366 Log: 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@g...> Modified files: trunk/test/ruby/test_env.rb Index: test/ruby/test_env.rb =================================================================== --- test/ruby/test_env.rb (revision 64365) +++ test/ruby/test_env.rb (revision 64366) @@ -455,12 +455,9 @@ class TestEnv < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_env.rb#L455 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/