From 76bce610c73e952ce3fe9826dbb6d1cd34fb4774 Mon Sep 17 00:00:00 2001 From: arton Date: Tue, 2 Nov 2010 11:13:47 +0000 Subject: [PATCH] fix bug#3990, rake/test_tasks git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/rake/test_tasks.rb | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index bfc60af5c8..f52793e0a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 2 20:10:32 2010 Tajima Akio + + * test/rake/test_tasks.rb: clear env var which is used by the test. + [ruby-dev:42508] + Tue Nov 2 00:25:54 2010 NAKAMURA Usaku * ext/socket/extconf.rb: win64 is just same with win32 about socket. diff --git a/test/rake/test_tasks.rb b/test/rake/test_tasks.rb index a042ec4fc2..110ee26a9e 100644 --- a/test/rake/test_tasks.rb +++ b/test/rake/test_tasks.rb @@ -305,6 +305,7 @@ class Rake::TestTaskWithArguments < Test::Unit::TestCase end def test_extra_parameters_are_ignored + ENV['b'] = nil t = task(:t, :a) { |tt, args| assert_equal 1, args.a assert_nil args.b