diff options
Diffstat (limited to 'test/rubygems/test_gem_security.rb')
-rw-r--r-- | test/rubygems/test_gem_security.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_security.rb b/test/rubygems/test_gem_security.rb index 7e75548c0f..718b381874 100644 --- a/test/rubygems/test_gem_security.rb +++ b/test/rubygems/test_gem_security.rb @@ -129,7 +129,7 @@ class TestGemSecurity < Gem::TestCase Gem::Security.re_sign CHILD_CERT, CHILD_KEY end - assert_equal "#{ALTERNATE_CERT.subject} is not self-signed, contact " \ + assert_equal "#{ALTERNATE_CERT.subject} is not self-signed, contact " + "#{ALTERNATE_CERT.issuer} to obtain a valid certificate", e.message end @@ -139,7 +139,7 @@ class TestGemSecurity < Gem::TestCase Gem::Security.re_sign ALTERNATE_CERT, PRIVATE_KEY end - assert_equal "incorrect signing key for re-signing " \ + assert_equal "incorrect signing key for re-signing " + "#{ALTERNATE_CERT.subject}", e.message end |