[PATCH 1 of 2] windows: add doctest for shellquote()
Matt Harbison
mharbison72 at gmail.com
Mon May 4 18:32:23 CDT 2015
On Mon, 04 May 2015 13:30:31 -0400, Matt Mackall <mpm at selenic.com> wrote:
> On Fri, 2015-05-01 at 22:57 -0400, Matt Harbison wrote:
>> # HG changeset patch
>> # User Matt Harbison <matt_harbison at yahoo.com>
>> # Date 1430525820 14400
>> # Fri May 01 20:17:00 2015 -0400
>> # Node ID 95f85481cf53e0855e9481fbd85196efcaa72455
>> # Parent e9edd53770fb77a9787a3e6592a3bf0a29c1bd80
>> windows: add doctest for shellquote()
>
> Queued for default, thanks. Did you check that test-doctest.py runs the
> test?
>
$ ./run-tests.py --local test-doctest.py
on Windows and Linux. I wouldn't have guessed the double backslash was
needed, and it was quadruple backslash without the raw string. I got the
idea on SO [1], otherwise it was pretty incomprehensible.
--Matt
[1]
https://stackoverflow.com/questions/11765401/doctest-involving-escape-characters
More information about the Mercurial-devel
mailing list