Closed JoshCheek closed 7 years ago
The matrix should not try to flush the pipe if it is closed.
$stderr.close # => nil # !> /Users/josh/.gem/ruby/2.3.1/gems/seeing_is_believing-3.1.0/lib/seeing_is_believing/the_matrix.rb:23:in `flush': closed stream (IOError) # !> \tfrom /Users/josh/.gem/ruby/2.3.1/gems/seeing_is_believing-3.1.0/lib/seeing_is_believing/the_matrix.rb:23:in `block in <top (required)>' # !> \tfrom /Users/josh/.gem/ruby/2.3.1/gems/seeing_is_believing-3.1.0/lib/seeing_is_believing/the_matrix.rb:70:in `block in <top (required)>'
$stdout.close # => nil # !> /Users/josh/.gem/ruby/2.3.1/gems/seeing_is_believing-3.1.0/lib/seeing_is_believing/the_matrix.rb:22:in `flush': closed stream (IOError) # !> \tfrom /Users/josh/.gem/ruby/2.3.1/gems/seeing_is_believing-3.1.0/lib/seeing_is_believing/the_matrix.rb:22:in `block in <top (required)>' # !> \tfrom /Users/josh/.gem/ruby/2.3.1/gems/seeing_is_believing-3.1.0/lib/seeing_is_believing/the_matrix.rb:70:in `block in <top (required)>'
The matrix should not try to flush the pipe if it is closed.
Stdout
Stderr