mirror of
https://github.com/danog/gift.git
synced 2024-11-30 04:19:37 +01:00
Escape whitespaces in pgp signature test
This commit is contained in:
parent
4a7aa57a6b
commit
367b12b2d7
@ -264,18 +264,17 @@ describe "Repo", ->
|
||||
|
||||
it "contains the correct signature", ->
|
||||
commits[1].gpgsig.should.equal """
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQEcBAABAgAGBQJTQw8qAAoJEL0/h9tqDFPiP3UH/RwxUS90+6DEkThcKMmV9H4K
|
||||
dr+D0H0z2ViMq3AHSmCydv5dWr3bupl2XyaLWWuRCxAJ78xuf98qVRIBfT/FKGeP
|
||||
fz+GtXkv3naCD12Ay6YiwfxSQhxFiJtRwP5rla2i7hlV3BLFPYCWTtL8OLF4CoRm
|
||||
7aF5EuDr1x7emEDyu1rf5E59ttSIySuIw0J1mTjrPCkC6lsowzTJS/vaCxZ3e7fN
|
||||
iZE6VEWWY/iOxd8foJH/VZ3cfNKjfi8+Fh8t7o9ztjYTQAOZUJTn2CHB7Wkyr0Ar
|
||||
HNM3v26gPFpb7UkHw0Cq2HWNV/Z7cbQc/BQ4HmrmuBPB6SWNOaBN751BbQKnPcA=
|
||||
=IusH
|
||||
-----END PGP SIGNATURE-----
|
||||
"""
|
||||
-----BEGIN#{" "}PGP#{" "}SIGNATURE-----
|
||||
#{" "}Version:#{" "}GnuPG#{" "}v2.0.22#{" "}(GNU/Linux)
|
||||
#{" "}
|
||||
#{" "}iQEcBAABAgAGBQJTQw8qAAoJEL0/h9tqDFPiP3UH/RwxUS90+6DEkThcKMmV9H4K
|
||||
#{" "}dr+D0H0z2ViMq3AHSmCydv5dWr3bupl2XyaLWWuRCxAJ78xuf98qVRIBfT/FKGeP
|
||||
#{" "}fz+GtXkv3naCD12Ay6YiwfxSQhxFiJtRwP5rla2i7hlV3BLFPYCWTtL8OLF4CoRm
|
||||
#{" "}7aF5EuDr1x7emEDyu1rf5E59ttSIySuIw0J1mTjrPCkC6lsowzTJS/vaCxZ3e7fN
|
||||
#{" "}iZE6VEWWY/iOxd8foJH/VZ3cfNKjfi8+Fh8t7o9ztjYTQAOZUJTn2CHB7Wkyr0Ar
|
||||
#{" "}HNM3v26gPFpb7UkHw0Cq2HWNV/Z7cbQc/BQ4HmrmuBPB6SWNOaBN751BbQKnPcA=
|
||||
#{" "}=IusH
|
||||
#{" "}-----END#{" "}PGP#{" "}SIGNATURE-----"""
|
||||
|
||||
describe "#tree", ->
|
||||
repo = fixtures.branched
|
||||
|
Loading…
Reference in New Issue
Block a user