tests/test-debugextensions.t
changeset 29703 3ef9aa7ad1fc
parent 28615 a6573503342d
child 29891 ca6940515485
--- a/tests/test-debugextensions.t	Sun Jul 10 22:07:34 2016 +0900
+++ b/tests/test-debugextensions.t	Sat Mar 19 17:19:03 2016 -0700
@@ -48,36 +48,39 @@
     "buglink": "",
     "name": "color",
     "source": "*/hgext/color.py*", (glob)
-    "testedwith": "internal"
+    "testedwith": ["internal"]
    },
    {
     "buglink": "",
     "name": "ext1",
     "source": "*/extwithoutinfos.py*", (glob)
-    "testedwith": ""
+    "testedwith": []
    },
    {
     "buglink": "",
     "name": "histedit",
     "source": "*/hgext/histedit.py*", (glob)
-    "testedwith": "internal"
+    "testedwith": ["internal"]
    },
    {
     "buglink": "",
     "name": "mq",
     "source": "*/hgext/mq.py*", (glob)
-    "testedwith": "internal"
+    "testedwith": ["internal"]
    },
    {
     "buglink": "",
     "name": "patchbomb",
     "source": "*/hgext/patchbomb.py*", (glob)
-    "testedwith": "internal"
+    "testedwith": ["internal"]
    },
    {
     "buglink": "",
     "name": "rebase",
     "source": "*/hgext/rebase.py*", (glob)
-    "testedwith": "internal"
+    "testedwith": ["internal"]
    }
   ]
+
+  $ hg debugextensions -T '{ifcontains("internal", testedwith, "", "{name}\n")}'
+  ext1