1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix bug#3990, rake/test_tasks

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
arton 2010-11-02 11:13:47 +00:00
parent 39f3eb153b
commit 76bce610c7
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue Nov 2 20:10:32 2010 Tajima Akio <artonx@yahoo.co.jp>
* 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 <usa@ruby-lang.org>
* ext/socket/extconf.rb: win64 is just same with win32 about socket.

View file

@ -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