Fixed faulty sanity check in _color()

This commit is contained in:
ayakael 2018-01-06 00:26:35 -09:00
parent 79bfb447ea
commit 5f446594ee
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026
2 changed files with 25 additions and 26 deletions

View file

@ -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