aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/json
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-07-29 14:51:00 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-07-29 14:51:00 +0900
commit14931e537f3dcd522b68a5b640aa47272602a137 (patch)
tree634f41274b2fdf685f91bb4ea3631b0b0021b19b /activesupport/test/json
parentf10acfa7b64ac93cbbfc97e3a92d644960198764 (diff)
downloadrails-14931e537f3dcd522b68a5b640aa47272602a137.tar.gz
rails-14931e537f3dcd522b68a5b640aa47272602a137.tar.bz2
rails-14931e537f3dcd522b68a5b640aa47272602a137.zip
Remove unused `require "active_support/core_ext/regexp"`
Ruby 2.4 has native `Regexp#match?`. https://ruby-doc.org/core-2.4.0/Regexp.html#method-i-match-3F Related #32034.
Diffstat (limited to 'activesupport/test/json')
-rw-r--r--activesupport/test/json/encoding_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/test/json/encoding_test.rb b/activesupport/test/json/encoding_test.rb
index 340a2abf75..ebc5df14dd 100644
--- a/activesupport/test/json/encoding_test.rb
+++ b/activesupport/test/json/encoding_test.rb
@@ -3,7 +3,6 @@
require "securerandom"
require "abstract_unit"
require "active_support/core_ext/string/inflections"
-require "active_support/core_ext/regexp"
require "active_support/json"
require "active_support/time"
require "time_zone_test_helpers"