Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/mri/lib/test/unit.rb
Original file line number Diff line number Diff line change
@@ -401,7 +401,6 @@ def terminal_width
unless @terminal_width ||= nil
begin
require 'io/console'
puts "acquiring winsize for stdout (fd #{$stdout.fileno})"
width = $stdout.winsize[1]
rescue LoadError, NoMethodError, Errno::ENOTTY, Errno::EBADF, Errno::EINVAL
width = ENV["COLUMNS"].to_i.nonzero? || 80

0 comments on commit fad8d69

Please sign in to comment.