Adds support for xterm-256color (by Michihiro Kuramochi).

This commit is contained in:
zhanyong.wan
2009-06-09 05:38:14 +00:00
parent 1bd424d960
commit fd36c200f4
2 changed files with 3 additions and 1 deletions

View File

@@ -78,6 +78,7 @@ class GTestColorTest(unittest.TestCase):
self.assert_(UsesColor('cygwin', None, None))
self.assert_(UsesColor('xterm', None, None))
self.assert_(UsesColor('xterm-color', None, None))
self.assert_(UsesColor('xterm-256color', None, None))
def testFlagOnly(self):
"""Tests the case when there's --gtest_color but not GTEST_COLOR."""