diff --git a/tests/run-tests.sh b/tests/run-tests.sh index 9f92e8e..a88c5d6 100644 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -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