Skip to content

Commit

Permalink
Fix failing doctest.
Browse files Browse the repository at this point in the history
  • Loading branch information
pranaysashank authored and mergify[bot] committed May 6, 2022
1 parent 9e3b1f0 commit dbb1afb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cabal/src/Distribution/Simple/Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit dbb1afb

Please sign in to comment.