From 367b12b2d77222d43390b9a54b9600f458b05dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Sch=C3=BC=C3=9Fler?= Date: Thu, 19 Jun 2014 22:07:14 +0200 Subject: [PATCH] Escape whitespaces in pgp signature test --- test/repo.test.coffee | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/test/repo.test.coffee b/test/repo.test.coffee index dccef01..4b440f3 100644 --- a/test/repo.test.coffee +++ b/test/repo.test.coffee @@ -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