aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_env.rb2
1 files changed, 1 insertions, 1 deletions
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