diff tests/test-status-color @ 8945:7b3d837ca60e

color: don't blow up if configured with unknown color (just warn).
author Greg Ward <greg-hg@gerg.ca>
date Thu, 25 Jun 2009 09:23:33 -0400
parents 03dd55115985
children 51421ab573de
line wrap: on
line diff
--- a/tests/test-status-color	Wed Jun 24 19:20:59 2009 +0200
+++ b/tests/test-status-color	Thu Jun 25 09:23:33 2009 -0400
@@ -61,6 +61,9 @@
 rm deleted
 hg copy modified copied
 
+echo "% test unknown color"
+hg --config color.status.modified=periwinkle status --color=always
+
 # Run status with 2 different flags.
 # Check if result is the same or different.
 # If result is not as expected, raise error