From 773f5e5a0b172754289de527bcba6b923bbc3d0e Mon Sep 17 00:00:00 2001 From: Nikolay Ponomarev Date: Wed, 27 Dec 2017 23:33:54 +0300 Subject: Remove Unused `require` It looks like they are left from old design --- test/collectors/test_bind.rb | 2 -- test/collectors/test_composite.rb | 1 - test/helper.rb | 1 - test/nodes/test_binary.rb | 1 - test/nodes/test_table_alias.rb | 1 - test/visitors/test_depth_first.rb | 1 - test/visitors/test_to_sql.rb | 2 +- 7 files changed, 1 insertion(+), 8 deletions(-) (limited to 'test') diff --git a/test/collectors/test_bind.rb b/test/collectors/test_bind.rb index 6b4b651cf7..62fd911a0f 100644 --- a/test/collectors/test_bind.rb +++ b/test/collectors/test_bind.rb @@ -1,8 +1,6 @@ # frozen_string_literal: true require 'helper' -require 'arel/collectors/bind' - module Arel module Collectors class TestBind < Arel::Test diff --git a/test/collectors/test_composite.rb b/test/collectors/test_composite.rb index b47c37db73..3d49b390e8 100644 --- a/test/collectors/test_composite.rb +++ b/test/collectors/test_composite.rb @@ -3,7 +3,6 @@ require 'helper' require 'arel/collectors/bind' require 'arel/collectors/composite' -require 'arel/collectors/sql_string' module Arel module Collectors diff --git a/test/helper.rb b/test/helper.rb index 022ba1dae6..3eecfb79b6 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true require 'rubygems' require 'minitest/autorun' -require 'fileutils' require 'arel' require 'support/fake_record' diff --git a/test/nodes/test_binary.rb b/test/nodes/test_binary.rb index 8e3025a440..ef23a3930b 100644 --- a/test/nodes/test_binary.rb +++ b/test/nodes/test_binary.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true require 'helper' -require 'set' module Arel module Nodes diff --git a/test/nodes/test_table_alias.rb b/test/nodes/test_table_alias.rb index 39040e6352..911114d938 100644 --- a/test/nodes/test_table_alias.rb +++ b/test/nodes/test_table_alias.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true require 'helper' -require 'ostruct' module Arel module Nodes diff --git a/test/visitors/test_depth_first.rb b/test/visitors/test_depth_first.rb index 0c7f7ccd34..832843265c 100644 --- a/test/visitors/test_depth_first.rb +++ b/test/visitors/test_depth_first.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true require 'helper' -require 'set' module Arel module Visitors diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb index eb6eedc55d..77756b9e99 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true require 'helper' -require 'set' +require 'bigdecimal' module Arel module Visitors -- cgit v1.2.3