aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_remote_fetch_error.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-11 16:45:31 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-12 17:24:43 +0900
commit129bc04ab7fb36f8a9e89cbe0264918bd7cc1d02 (patch)
tree85a524982abb5cd31b9f2cb963ab49f1c63eceaa /test/rubygems/test_remote_fetch_error.rb
parent00f5b4b54614d28941fd31f93eaf36357bd8c099 (diff)
downloadruby-129bc04ab7fb36f8a9e89cbe0264918bd7cc1d02.tar.gz
[rubygems/rubygems] util/rubocop -a
https://github.com/rubygems/rubygems/commit/a10ff97830
Diffstat (limited to 'test/rubygems/test_remote_fetch_error.rb')
-rw-r--r--test/rubygems/test_remote_fetch_error.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_remote_fetch_error.rb b/test/rubygems/test_remote_fetch_error.rb
index 6602f8205b..a1c25bcdda 100644
--- a/test/rubygems/test_remote_fetch_error.rb
+++ b/test/rubygems/test_remote_fetch_error.rb
@@ -4,7 +4,7 @@ require 'rubygems/test_case'
class TestRemoteFetchError < Gem::TestCase
def test_password_redacted
error = Gem::RemoteFetcher::FetchError.new('There was an error fetching', 'https://user:secret@gemsource.org')
- refute_match %r|secret|, error.to_s
+ refute_match %r{secret}, error.to_s
end
def test_invalid_url