tests/test-status-color.t
changeset 22763 7ebf91426f6a
parent 22464 964dd1c491ca
child 23172 e955549cd045
--- a/tests/test-status-color.t	Sat Oct 04 17:22:22 2014 +0900
+++ b/tests/test-status-color.t	Fri Oct 03 19:47:57 2014 -0400
@@ -152,6 +152,11 @@
   [log.date|date:        Thu Jan 01 00:00:00 1970 +0000]
   [log.summary|summary:     initial checkin]
   
+Labels on empty strings should not be displayed, labels on custom
+templates should be.
+
+  $ hg log --color=debug -T '{label("my.label",author)}\n{label("skipped.label","")}'
+  [my.label|test]
   $ touch modified added unknown ignored
   $ hg add added
   $ hg remove removed