From 3303a2244ba473090798d804acfa589726036424 Mon Sep 17 00:00:00 2001 From: pranaysashank Date: Sat, 9 Apr 2022 21:04:16 +0530 Subject: [PATCH] Fix failing doctest. --- Cabal/src/Distribution/Simple/Setup.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cabal/src/Distribution/Simple/Setup.hs b/Cabal/src/Distribution/Simple/Setup.hs index 1b14f93c48e..3ffba8c38eb 100644 --- a/Cabal/src/Distribution/Simple/Setup.hs +++ b/Cabal/src/Distribution/Simple/Setup.hs @@ -2262,8 +2262,8 @@ configureProg verbosity programDb prog = do -- | Helper function to split a string into a list of arguments. -- It's supposed to handle quoted things sensibly, eg: -- --- >>> splitArgs "--foo=\"C:/Program Files/Bar/" --baz" --- ["--foo=C:/Program Files/Bar", "--baz"] +-- >>> splitArgs "--foo=\"C:/Program Files/Bar/\" --baz" +-- ["--foo=C:/Program Files/Bar/", "--baz"] -- -- >>> splitArgs "\"-DMSGSTR=\\\"foo bar\\\"\" --baz" -- ["-DMSGSTR=\"foo bar\"","--baz"]