tests/test-command-template.t
changeset 33047 de8e3681c402
parent 32953 6d79e9109908
child 33048 46fa46608ca5
--- a/tests/test-command-template.t	Sat Jun 24 12:47:25 2017 -0700
+++ b/tests/test-command-template.t	Sat Jun 24 13:39:20 2017 -0700
@@ -3894,10 +3894,31 @@
 
 Test namespaces dict
 
-  $ hg log -T '{rev}{namespaces % " {namespace}={join(names, ",")}"}\n'
-  2 bookmarks=bar,foo tags=tip branches=text.{rev}
-  1 bookmarks=baz tags= branches=text.{rev}
-  0 bookmarks= tags= branches=default
+  $ hg log -T '{rev}\n{namespaces % " {namespace} color={colorname}\n  {join(names, ",")}\n"}\n'
+  2
+   bookmarks color=bookmark
+    bar,foo
+   tags color=tag
+    tip
+   branches color=branch
+    text.{rev}
+  
+  1
+   bookmarks color=bookmark
+    baz
+   tags color=tag
+    
+   branches color=branch
+    text.{rev}
+  
+  0
+   bookmarks color=bookmark
+    
+   tags color=tag
+    
+   branches color=branch
+    default
+  
   $ hg log -r2 -T '{namespaces % "{namespace}: {names}\n"}'
   bookmarks: bar foo
   tags: tip