Skip to content

Commit

Permalink
Fix test encoding issue on Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Dec 31, 2020
1 parent 740cb58 commit dfbb1be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/bar_format_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true
# frozen_string_literal: false

RSpec.describe TTY::ProgressBar, ":bar_format" do
let(:output) { StringIO.new }
let(:output) { StringIO.new("", "w+") }
let(:formats) { TTY::ProgressBar::Formats::FORMATS }

TTY::ProgressBar::Formats::FORMATS.each_key do |format|
Expand Down

0 comments on commit dfbb1be

Please sign in to comment.