diff tests/test-doctest.py @ 31518:43d6ef658874

color: insert color code after every "\e[0m" (issue5413) This assumes the last color wins, tested in ANSI mode. I guess terminfo mode would work in the same way.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 18 Mar 2017 20:11:15 +0900
parents a7c687c35119
children ca3b4a2b7e54
line wrap: on
line diff
--- a/tests/test-doctest.py	Sat Mar 18 19:59:47 2017 +0900
+++ b/tests/test-doctest.py	Sat Mar 18 20:11:15 2017 +0900
@@ -23,6 +23,7 @@
 
 testmod('mercurial.changegroup')
 testmod('mercurial.changelog')
+testmod('mercurial.color')
 testmod('mercurial.config')
 testmod('mercurial.dagparser', optionflags=doctest.NORMALIZE_WHITESPACE)
 testmod('mercurial.dispatch')