Shota_F
September 20, 2010, 11:17am
1
Feature #3852: test_prime.rb:62e$B$,DL$i$J$$e(B
http://redmine.ruby-lang.org/issues/show/3852
e$B5/I<<Te(B: Shota F.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe (B: Normal
e$BC4Ev<Te(B: Yuki S., e$B%+%F%4%je(B: lib
test_prime.rb:62e$B$,0J2<$N$h$&$KDL$j$^$;$s$G$7$?!#e (B
Error:
test_new(TestPrime):
IOError: not opened for reading
…/…/test/test_prime.rb:62:in read' ../../test/test_prime.rb:62:in
test_new’
e$B%Q%C%A$O0J2<$G$9!#e (B
diff --git test/test_prime.rb test/test_prime.rb
index e095a29…dca9295 100644
— test/test_prime.rb
+++ test/test_prime.rb
@@ -55,7 +55,7 @@ class TestPrime < Test::Unit::TestCase
end
def test_new
buf = StringIO.new(‘’, ‘w’)
Shota_F
September 21, 2010, 3:16am
2
e$B%A%1%C%He(B #3852 e$B$,99?7$5$l$^$7$?!#e (B (by Yui NARUSE)
e$B%9%F!<%?%9e(B Opene$B$+$ie(BFeedbacke$B$KJQ99e(B
e$B$&!<$s!":F8=$7$^$;$s$M$'!#e (B
e$B%3!<%I8+$F$be(Breade$B$7$F$J$$5$$,$9$k$7!#e (B
http://redmine.ruby-lang.org/issues/show/3852
Shota_F
September 21, 2010, 5:51am
3
e$B%A%1%C%He(B #3852 e$B$,99?7$5$l$^$7$?!#e (B (by Shota F.)
e$B$3$N%Q%C%A$OL50UL#$G$7$?!#$J$s$G$3$l$GDL$k$h$&$K$J$C$?$s$@$m$&!#e (B
e$B$b$&0lEY;n$7$F$$?$i!"e(Bmake test-alle$B$N;~$K$N$ :F8=$7$^$9e(B
P.S.: e$B$"$H:#5$$E$$$?$i$3$le(Bfeaturee$B$K$J$C$F$ke(B… ><
e$BD>$;$k$J$i$@$l$+D>$7$F$$$?$@$1$k$He(B
http://redmine.ruby-lang.org/issues/show/3852
Shota_F
September 22, 2010, 9:34am
4
e$B%A%1%C%He(B #3852 e$B$,99?7$5$l$^$7$?!#e (B (by Shota F.)
e$B%Q%C%A40@.$7$^$7$?!#%3%_%C%H$*4j$$$7$^$9e(B
diff --git test/test_prime.rb test/test_prime.rb
index e095a29…4662b97 100644
— test/test_prime.rb
+++ test/test_prime.rb
@@ -58,8 +58,10 @@ class TestPrime < Test::Unit::TestCase
buf = StringIO.new(‘’, ‘w’)
orig, $stderr = $stderr, buf
orig_verbose, $VERBOSE = $VERBOSE, false
enum = Prime.new
assert !buf.string.empty?
$VERBOSE = orig_verbose
$stderr = orig
assert enum.respond_to?(:each)
http://redmine.ruby-lang.org/issues/show/3852
Shota_F
September 22, 2010, 10:07am
5
e$B%A%1%C%He(B #3852 e$B$,99?7$5$l$^$7$?!#e (B (by Yuki S.)
e$B%9%F!<%?%9e(B Feedbacke$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B
This issue was solved with changeset r29316.
Shota, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
http://redmine.ruby-lang.org/issues/show/3852