X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ftest-lib.sh;fp=t%2Ftest-lib.sh;h=142f36f2e919929520d240e56b65f2b69e4b4982;hb=c2ff10c98e22ae64d553273e6d67bb123a1c916f;hp=2d523fe0f08dbbc1971f4601f24664cdbce95415;hpb=67834b924044101a5d25f047746cfce7301bff1c;p=git.git diff --git a/t/test-lib.sh b/t/test-lib.sh index 2d523fe0f..142f36f2e 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -211,6 +211,17 @@ test_set_editor () { export EDITOR } +test_decode_color () { + sed -e 's/.\[1m//g' \ + -e 's/.\[31m//g' \ + -e 's/.\[32m//g' \ + -e 's/.\[33m//g' \ + -e 's/.\[34m//g' \ + -e 's/.\[35m//g' \ + -e 's/.\[36m//g' \ + -e 's/.\[m//g' +} + test_tick () { if test -z "${test_tick+set}" then