Skip to content

Commit c0c1432

Browse files
9999yearsMikolaj
authored andcommitted
gitconfig: use unlines
1 parent 7fc108d commit c0c1432

File tree

1 file changed

+7
-5
lines changed
  • cabal-install/tests/UnitTests/Distribution/Client

1 file changed

+7
-5
lines changed

cabal-install/tests/UnitTests/Distribution/Client/VCS.hs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -915,11 +915,13 @@ vcsTestDriverGit
915915
-- See: https://github.blog/open-source/git/git-security-vulnerabilities-announced/#fn-67904-1
916916
-- See: https://git-scm.com/docs/git-config#Documentation/git-config.txt-protocolallow
917917
gitconfig =
918-
"[protocol.file]\n\
919-
\allow = always\n\
920-
\[user]\n\
921-
\name = Puppy Doggy\n\
922-
\email = [email protected]\n"
918+
unlines
919+
[ "[protocol.file]"
920+
, " allow = always"
921+
, "[user]"
922+
, " name = Puppy Doggy"
923+
, " email = [email protected]"
924+
]
923925

924926
vcs' =
925927
vcs

0 commit comments

Comments
 (0)