# HG changeset patch # User Matt Harbison # Date 2015-10-02 01:24:10 # Node ID 1f8208a7277e9c9772d719f10e0df0daa2a83d9f # Parent 703d331c44ac10c9b81a038b40126b13ed1bc5bd 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" }, { diff --git a/tests/test-debugextensions.t b/tests/test-debugextensions.t --- a/tests/test-debugextensions.t +++ b/tests/test-debugextensions.t @@ -42,7 +42,7 @@ location: */hgext/rebase.pyc (glob) tested with: internal - $ hg debugextensions -Tjson + $ hg debugextensions -Tjson | sed 's|\\\\|/|g' [ { "buglink": "",