зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] TestGemSecuritySigner#test_sign: Correct the expectation for new cert.
https://github.com/rubygems/rubygems/commit/bed360410d
This commit is contained in:
Родитель
b7debaa801
Коммит
2ab7bb8969
|
@ -120,12 +120,12 @@ class TestGemSecuritySigner < Gem::TestCase
|
|||
signature = signer.sign "hello"
|
||||
|
||||
expected = <<-EXPECTED
|
||||
cHze2sEfRysoUMCfGVAx/7o8jxj5liJJ2ptNxe2jf3l+EZvyjdqpXo9Ndzxx
|
||||
6xLp2rxLG4K2//ip4aCH5Sh7hnia+F5u6iuLBETPlklPrmw5dnuKZxolz+vM
|
||||
0O1aOZsQHcVzQoESTGjkms3KZk+gn3lg0sSBbAV5/LyDYoHCEjxlcA5D+Olb
|
||||
rDmRyBMOnMS+q489OZ5Hr6B2YJJ3QbUwIZNhUeNmOxIBEYTrrKkZ92qkxbRN
|
||||
qhlqFP4jR6zXFeyBCOr0KpTiWBNuxBFXDsxmhGyt2BOIjD6qmKn7RSIfYg/U
|
||||
toqvglr0kdbknSRRjBVLK6tsgr07aLT9gNP7mTW2PA==
|
||||
FmrCYxEXW3dgYYNMxPdS16VrdXT+d5nyXTVlRm64ZHSgMxMAaPtQJsVYv73m
|
||||
DWHTzNnLhhINSpgBMLh5a4atM52yxVdkPUTgqIH+LeIPBXn8xaP5JLmfDcmI
|
||||
tBpc/9DhS3v9iKCX40igAArFu7Gg3swbgQ61SP+U22LvG5nDQZQz3sudtsw3
|
||||
qKPykFVaYjrRwzvBdSdJ1PwlAsanSwcwS/GKPtmE/ykZ6X5XOx7wvCDL/zGy
|
||||
B8khkB8hDKC6moCzebmUxCBmTmXD0Wjzon+bf4MOriVE3a0ySGRvpr1mKR2+
|
||||
9EaVo7pDJLEM487+xg1CAZHRhwshd6II00XEzG/jBQ==
|
||||
EXPECTED
|
||||
|
||||
assert_equal expected, [signature].pack("m")
|
||||
|
|
Загрузка…
Ссылка в новой задаче