зеркало из https://github.com/github/ruby.git
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:
Родитель
39f3eb153b
Коммит
76bce610c7
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче