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:
commit
f4f9147b1e
5 changed files with 5 additions and 13 deletions
|
@ -5,6 +5,7 @@ require "multibyte_test_helpers"
|
|||
require "stringio"
|
||||
require "fileutils"
|
||||
require "tempfile"
|
||||
require "tmpdir"
|
||||
require "concurrent/atomics"
|
||||
|
||||
class LoggerTest < ActiveSupport::TestCase
|
||||
|
|
|
@ -3,15 +3,10 @@
|
|||
require "abstract_unit"
|
||||
require "multibyte_test_helpers"
|
||||
|
||||
require "fileutils"
|
||||
require "open-uri"
|
||||
require "tmpdir"
|
||||
|
||||
class MultibyteConformanceTest < ActiveSupport::TestCase
|
||||
include MultibyteTestHelpers
|
||||
|
||||
UNIDATA_FILE = "/NormalizationTest.txt"
|
||||
FileUtils.mkdir_p(CACHE_DIR)
|
||||
RUN_P = begin
|
||||
Downloader.download(UNIDATA_URL + UNIDATA_FILE, CACHE_DIR + UNIDATA_FILE)
|
||||
rescue
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
require "abstract_unit"
|
||||
require "multibyte_test_helpers"
|
||||
|
||||
require "fileutils"
|
||||
require "open-uri"
|
||||
require "tmpdir"
|
||||
|
||||
class MultibyteGraphemeBreakConformanceTest < ActiveSupport::TestCase
|
||||
include MultibyteTestHelpers
|
||||
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
require "abstract_unit"
|
||||
require "multibyte_test_helpers"
|
||||
|
||||
require "fileutils"
|
||||
require "open-uri"
|
||||
require "tmpdir"
|
||||
|
||||
class MultibyteNormalizationConformanceTest < ActiveSupport::TestCase
|
||||
include MultibyteTestHelpers
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "fileutils"
|
||||
require "open-uri"
|
||||
require "tmpdir"
|
||||
|
||||
module MultibyteTestHelpers
|
||||
class Downloader
|
||||
def self.download(from, to)
|
||||
|
|
Loading…
Reference in a new issue