mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
574d844a0f
commit
b74f7fc3f2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue