Project

General

Profile

Actions

Bug #3852

closed

test_prime.rb:62が通らない

Added by sorah (Sorah Fukumori) about 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2010-09-21 trunk 29308) [x86_64-darwin10.4.0]
Backport:
[ruby-dev:42272]

Description

=begin
test_prime.rb:62が以下のように通りませんでした。

  1. Error:
    test_new(TestPrime):
    IOError: not opened for reading
    ../../test/test_prime.rb:62:in read' ../../test/test_prime.rb:62:in test_new'

パッチは以下です。

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')
  • buf = StringIO.new('', 'w+')
    orig, $stderr = $stderr, buf

    enum = Prime.new
    =end


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #3857: OpenSSL::TestUtils.silent が $VERBOSE を戻していないClosed09/22/2010Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0