From b74f7fc3f211c490546f0724da34ee1d69dea89d Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 1 Oct 2018 07:50:08 +0000 Subject: [PATCH] Removed Windows version condition Seems all MSVC runtimes fails with EINVAL, regardless Windows version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_env.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_env.rb b/test/ruby/test_env.rb index 54a0270967..6343642ac1 100644 --- a/test/ruby/test_env.rb +++ b/test/ruby/test_env.rb @@ -459,7 +459,7 @@ class TestEnv < Test::Unit::TestCase def test_huge_value huge_value = "bar" * 40960 ENV["foo"] = "bar" - if /mswin/ =~ RUBY_PLATFORM && windows_version < 7 + if /mswin/ =~ RUBY_PLATFORM assert_raise(Errno::EINVAL) { ENV["foo"] = huge_value } assert_equal("bar", ENV["foo"]) else