Fixed faulty sanity check in _color()
This commit is contained in:
parent
79bfb447ea
commit
5f446594ee
2 changed files with 25 additions and 26 deletions
|
@ -2,10 +2,11 @@
|
|||
|
||||
source ../lib/msg.sh
|
||||
source ../lib/color.sh
|
||||
source ../lib/if.sh
|
||||
|
||||
_msg ECHO "Begin color.sh test"
|
||||
for cmd in fg bfg bg; do
|
||||
for col in ${coloptArray[@]}; do
|
||||
for col in blk red grn yel blu mag cyn gry; do
|
||||
echo "Testing _color $(_color ${cmd} ${col})${cmd} ${col}$(_color rs)"
|
||||
done
|
||||
done
|
||||
|
|
Reference in a new issue