summaryrefslogtreecommitdiff
path: root/test/rubygems/test_remote_fetch_error.rb
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/test_remote_fetch_error.rb2
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ require_relative "helper"
class TestGemRemoteFetchError < Gem::TestCase
def test_password_redacted
error = Gem::RemoteFetcher::FetchError.new("There was an error fetching", "https://user:[email protected]")
- refute_match %r{secret}, error.to_s
end
def test_invalid_url