Skip to content

Commit da1a079

Browse files
committed
Remove colors from test output
1 parent e8c8329 commit da1a079

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

run-tests

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
#!/usr/bin/env bash
22

3-
red=$(echo -e "\e[1;31m")
4-
green=$(echo -e "\e[1;32m")
5-
normal=$(echo -e "\e[m")
6-
73
show_test_result() {
84
local test_status=$1
95
local test_name=$2
106
test $test_status -ne 0 && {
11-
echo "[${red}FAILED${normal}] $test_name."
7+
echo "[FAILED] $test_name."
128
exit 1
139
}
14-
echo "[${green}PASSED${normal}] $test_name."
10+
echo "[PASSED] $test_name."
1511
}
1612

1713
# YAML input validation tests that must succeed.

0 commit comments

Comments
 (0)