1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-23 02:25:53 +03:00

tests/run-tests.sh: minor fix

This commit is contained in:
Igor Chubin 2020-08-06 06:53:16 +02:00
parent b45af37fba
commit 3b50095833

View File

@ -84,7 +84,7 @@ while read -r number test_line; do
fi
if ! diff -u3 --color=always results/"$number" "$TMP" > "$TMP2"; then
if [[ $CHEATSH_UPDATE_TESTS_RESULTS = NO ]]; then
if [[ $update_tests_results = NO ]]; then
if [ "$show_details" = YES ]; then
cat "$TMP2"
fi