diff --git a/t/test-lib.sh b/t/test-lib.sh
index 2d523fe0f08dbbc1971f4601f24664cdbce95415..142f36f2e919929520d240e56b65f2b69e4b4982 100644 (file)
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
export EDITOR
}
+test_decode_color () {
+ sed -e 's/.\[1m/<WHITE>/g' \
+ -e 's/.\[31m/<RED>/g' \
+ -e 's/.\[32m/<GREEN>/g' \
+ -e 's/.\[33m/<YELLOW>/g' \
+ -e 's/.\[34m/<BLUE>/g' \
+ -e 's/.\[35m/<MAGENTA>/g' \
+ -e 's/.\[36m/<CYAN>/g' \
+ -e 's/.\[m/<RESET>/g'
+}
+
test_tick () {
if test -z "${test_tick+set}"
then