changeset 26430:1f8208a7277e

test-debugextensions: sanitize JSON output for Windows Windows is printing a double backslash, which isn't handled by (glob): --- c:/Users/Matt/Projects/hg/tests/test-debugextensions.t +++ c:/Users/Matt/Projects/hg/tests/test-debugextensions.t.err @@ -47,7 +47,7 @@ { "buglink": "", "name": "color", - "source": "*/hgext/color.pyc", (glob) + "source": "c:\\Users\\Matt\\Projects\\hg\\hgext\\color.pyc", "testedwith": "internal" }, {
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 01 Oct 2015 21:24:10 -0400
parents 703d331c44ac
children 46984a5308a0
files tests/test-debugextensions.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-debugextensions.t	Thu Oct 01 21:10:38 2015 -0400
+++ b/tests/test-debugextensions.t	Thu Oct 01 21:24:10 2015 -0400
@@ -42,7 +42,7 @@
     location: */hgext/rebase.pyc (glob)
     tested with: internal
 
-  $ hg debugextensions -Tjson
+  $ hg debugextensions -Tjson | sed 's|\\\\|/|g'
   [
    {
     "buglink": "",