mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
distinguish pass and fail by highlight [ci skip]
* tool/colorize.rb: remove highlight attribute from "pass" to make distinguishable from "fail" by other than red-green colors. * tool/ifchange: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fa30274742
commit
25aec0b835
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ class Colorize
|
|||
end
|
||||
|
||||
DEFAULTS = {
|
||||
"pass"=>"32;1", "fail"=>"31;1", "skip"=>"33;1",
|
||||
"pass"=>"32", "fail"=>"31;1", "skip"=>"33;1",
|
||||
"black"=>"30", "red"=>"31", "green"=>"32", "yellow"=>"33",
|
||||
"blue"=>"34", "magenta"=>"35", "cyan"=>"36", "white"=>"37",
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ if [ "$color" = always -o \( "$color" = auto -a -t 1 \) ]; then
|
|||
msg_unchanged=`expr ":$TEST_COLORS:" : ".*:pass=\([^:]*\):"` || :
|
||||
msg_updated=`expr ":$TEST_COLORS:" : ".*:fail=\([^:]*\):"` || :
|
||||
fi
|
||||
msg_unchanged="${msg_begin}${msg_unchanged:-32;1}m"
|
||||
msg_unchanged="${msg_begin}${msg_unchanged:-32}m"
|
||||
msg_updated="${msg_begin}${msg_updated:-31;1}m"
|
||||
msg_reset="${msg_begin}m"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue