[Ruby 1.9-Bug#4013][Open] rake/test_tasks.rb fails if ENV assined test value

Bug #4013: rake/test_tasks.rb fails if ENV assined test value
http://redmine.ruby-lang.org/issues/show/4013

$B5/I<<T(B: Akio T.
$B%9%F!<%?%9(B: Open, $BM%@john(B: Normal
$B%+%F%4%j(B: test, Target version: 1.9.2
ruby -v: ruby 1.9.3dev (2010-11-01) [i386-mswin32_100]

Rake$B$O(Btask$B$N0z?t$KM?$($?L>A0$,8+$D$+$i$J$$>l9g!"4D6-JQ?t$+$iCM$r<[email protected]$7$^$9!#(B
test_extra_parameters_are_ignored$B$G$O!"L$;XDj$NJQ?t(Bb$B$,(Bnil$B$+$r%F%9%H$7$^$9$,!“4D6-JQ?t(Bb$B$,Dj5A$5$l$F$$$k$H(Bnil$B$H$O$J$i$J$$$?$a!”%F%9%H$,(Bfail$B$7$^$9!#;vA0$K4D6-JQ?t(Bb$B$r([email protected]_Dj$7$F$+$i%F%9%H$9$Y$-$G$9!#(B

— test_tasks.rb~ 2010-07-27 00:00:55.113509000 +0900
+++ test_tasks.rb 2010-11-02 02:01:37.319635100 +0900
@@ -305,6 +305,7 @@ class Rake::TestTaskWithArguments < Test
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

$B%A%1%C%H(B #4013 $B$,99?7$5$l$^$7$?!#(B (by Yui NARUSE)

$B%3%_%C%H$7$F$7$^$C$F$$$$$s$8$c$J$$$+$H;W$$$^$9!#(B

rake $B$O%a%s%F%J$$$J$$$7(B

rake $B$O%a%s%F%J$$$J$$$7(B
$B$$!"$=$&$J$s$G$9$+!#$G$O!#(B
$B!J$J$s$G(Brake$B$G(Bfail$B$9$k$N$+!"$9$4$/IT;[email protected]$C$?!K(B


arton [email protected]

$B%A%1%C%H(B #4013 $B$,99?7$5$l$^$7$?!#(B (by Yui NARUSE)

$B%9%F!<%?%9(B Open$B$+$i(BClosed$B$KJQ99(B

fixed in r29668
$B$"$H!"IaDL(B ML $B$NJ}$r;2>H$7$^$9$M!#(B

[email protected]$1$I$?$^$K(B Redmine

$B$,%a!<%k=&$($F$J$$$3$H$,$"$k$H$$$&%H%i%C%W$,$"$k$N$G!"$=$&$$$&$H$-$O%A%1%C%HHV9f$b=q$/(B

$B%A%1%C%H(B #4013 $B$,99?7$5$l$^$7$?!#(B (by Akio T.)

$B$"$H!“IaDL(B ML $B$NJ}$r;2>H$7$^$9$M!#(B
$B$3$l$O!”(Bcommit$B%a%C%;!<%8$K!"(B"…[ruby-dev:42508]"$B$H$$$&$h$&$K=q$/$H$$$&0UL#!)(B
$B!J(Bbug#$B$r=q$-4V0c$($F$$$?(Borz$B!K(B

$B%A%1%C%H(B #4013 $B$,99?7$5$l$^$7$?!#(B (by Yui NARUSE)

$B$^$:!"IaDL(B commit $B%a%C%;!<%8$O(B ChangeLog
$B$K=q$/FbMF$H$[$\F1FbMF$G$9!#(B
($B%$%s%G%s%H>C$7$?$j%X%C%@>C$7$?$j$/$i$$(B)

$B$G!"(BChangeLog$B$K$ONr;KE*7P0^$+$i(BML$B=q$/$3$H$,B?$$$+$J!#(B

$B$3$NJU$O$"$^$jJ8=q2=$5$l$F$$$J$$$N$GB>$N?M$N$r8+$D$D(B

$B$3$s$K$A$O!"$J$+$`$i(B($B$&(B)$B$G$9!#(B

In message “[ruby-dev:42534] [Ruby 1.9-Bug#4013] rake/test_tasks.rb
fails if ENV assined test value”
on Nov.04,2010 12:06:14, [email protected] wrote:

$B$3$NJU$O$"$^$jJ8=q2=$5$l$F$$$J$$$N$GB>$N?M$N$r8+$D$D(B

http://redmine.ruby-lang.org/wiki/ruby/CommitterHowtoJa $B$K=q(B
$B$$$F$"$j$^$9$h$%!#(B

$B$=$l$G$O!#(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs