1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #33078 from bogdanvlviv/add-remove-require

Add/Remove `require`
This commit is contained in:
Ryuta Kamizono 2018-06-09 17:20:36 +09:00 committed by GitHub
commit f4f9147b1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 13 deletions

View file

@ -5,6 +5,7 @@ require "multibyte_test_helpers"
require "stringio" require "stringio"
require "fileutils" require "fileutils"
require "tempfile" require "tempfile"
require "tmpdir"
require "concurrent/atomics" require "concurrent/atomics"
class LoggerTest < ActiveSupport::TestCase class LoggerTest < ActiveSupport::TestCase

View file

@ -3,15 +3,10 @@
require "abstract_unit" require "abstract_unit"
require "multibyte_test_helpers" require "multibyte_test_helpers"
require "fileutils"
require "open-uri"
require "tmpdir"
class MultibyteConformanceTest < ActiveSupport::TestCase class MultibyteConformanceTest < ActiveSupport::TestCase
include MultibyteTestHelpers include MultibyteTestHelpers
UNIDATA_FILE = "/NormalizationTest.txt" UNIDATA_FILE = "/NormalizationTest.txt"
FileUtils.mkdir_p(CACHE_DIR)
RUN_P = begin RUN_P = begin
Downloader.download(UNIDATA_URL + UNIDATA_FILE, CACHE_DIR + UNIDATA_FILE) Downloader.download(UNIDATA_URL + UNIDATA_FILE, CACHE_DIR + UNIDATA_FILE)
rescue rescue

View file

@ -3,10 +3,6 @@
require "abstract_unit" require "abstract_unit"
require "multibyte_test_helpers" require "multibyte_test_helpers"
require "fileutils"
require "open-uri"
require "tmpdir"
class MultibyteGraphemeBreakConformanceTest < ActiveSupport::TestCase class MultibyteGraphemeBreakConformanceTest < ActiveSupport::TestCase
include MultibyteTestHelpers include MultibyteTestHelpers

View file

@ -3,10 +3,6 @@
require "abstract_unit" require "abstract_unit"
require "multibyte_test_helpers" require "multibyte_test_helpers"
require "fileutils"
require "open-uri"
require "tmpdir"
class MultibyteNormalizationConformanceTest < ActiveSupport::TestCase class MultibyteNormalizationConformanceTest < ActiveSupport::TestCase
include MultibyteTestHelpers include MultibyteTestHelpers

View file

@ -1,5 +1,9 @@
# frozen_string_literal: true # frozen_string_literal: true
require "fileutils"
require "open-uri"
require "tmpdir"
module MultibyteTestHelpers module MultibyteTestHelpers
class Downloader class Downloader
def self.download(from, to) def self.download(from, to)