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 Aug 13, 2022
1 parent 9554648 commit 662b63a
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 @@ -2526,8 +2526,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 662b63a

Please sign in to comment.