Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #310 from takkii/develop
Browse files Browse the repository at this point in the history
Update.
  • Loading branch information
takkii authored May 20, 2023
2 parents 321f9ee + fceaf3c commit fc15961
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mini_test_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

require "#{File.dirname(__FILE__)}/req/minitest"

# Default encoding utf8, Encoding change here.
def encoding_style
Encoding.default_internal = 'UTF-8'
Encoding.default_external = 'UTF-8'
end

# The new instance will be deleted after process ends.
class MiniTestFile
attr_reader :mini_test, :mini_unit

# Default encoding utf8, Encoding change here.
def encoding_style
Encoding.default_internal = 'UTF-8'
Encoding.default_external = 'UTF-8'
end

def initialize
encoding_style
@mini_test = Mini(true, '/GitHub/zinbeijett/mini_test')
Expand Down

0 comments on commit fc15961

Please sign in to comment.