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"
},
{
--- 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": "",