ruby-changes:52680
From: nobu <ko1@a...>
Date: Mon, 1 Oct 2018 16:50:13 +0900 (JST)
Subject: [ruby-changes:52680] nobu:r64892 (trunk): Removed Windows version condition
nobu 2018-10-01 16:50:08 +0900 (Mon, 01 Oct 2018) New Revision: 64892 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64892 Log: Removed Windows version condition Seems all MSVC runtimes fails with EINVAL, regardless Windows version. Modified files: trunk/test/ruby/test_env.rb Index: test/ruby/test_env.rb =================================================================== --- test/ruby/test_env.rb (revision 64891) +++ test/ruby/test_env.rb (revision 64892) @@ -459,7 +459,7 @@ class TestEnv < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_env.rb#L459 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/