def testCssHexCouldBeShorter(self):
    self.VerifyContentsProducesOutput('\n#abc,\n#abc-,\n#abc-ghij,\n#abcdef-,\n#abcdef-ghij,\n#aaaaaa,\n#bbaacc {\n  background-color: #336699; /* Ignore short hex rule if not gray. */\n  color: #999999;\n  color: #666;\n}', '\n- Use abbreviated hex (#rgb) when in form #rrggbb.\n    color: #999999; (replace with #999)\n\n- Use rgb() over #hex when not a shade of gray (like #333).\n    background-color: #336699; (replace with rgb(51, 102, 153))')
def testCssHexCouldBeShorter(self):
    self.VerifyContentsProducesOutput('\n#abc,\n#abc-,\n#abc-ghij,\n#abcdef-,\n#abcdef-ghij,\n#aaaaaa,\n#bbaacc {\n  background-color: #336699; /* Ignore short hex rule if not gray. */\n  color: #999999;\n  color: #666;\n}', '\n- Use abbreviated hex (#rgb) when in form #rrggbb.\n    color: #999999; (replace with #999)\n\n- Use rgb() over #hex when not a shade of gray (like #333).\n    background-color: #336699; (replace with rgb(51, 102, 153))')