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 "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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue