diff options
Diffstat (limited to 'test/ruby/test_env.rb')
-rw-r--r-- | test/ruby/test_env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_env.rb b/test/ruby/test_env.rb index 892e9b7bd6..749f0c5b08 100644 --- a/test/ruby/test_env.rb +++ b/test/ruby/test_env.rb @@ -457,7 +457,7 @@ class TestEnv < Test::Unit::TestCase def test_huge_value huge_value = "bar" * 40960 ENV["foo"] = "bar" - if /mswin|mingw/ =~ RUBY_PLATFORM && windows_version < 6 + if /mswin|mingw/ =~ RUBY_PLATFORM && windows_version < 7 assert_raise(Errno::EINVAL) { ENV["foo"] = huge_value } assert_equal("bar", ENV["foo"]) else |