cmdlineTests.sh: Fix error code update using the wrong value

This commit is contained in:
Kamil Śliwak 2021-04-10 22:58:49 +02:00
parent 124db22f04
commit 7d37e37d95

View File

@ -190,7 +190,7 @@ function test_solc_behaviour()
then
printError "Incorrect exit code. Expected $exit_code_expected but got $exitCode."
[[ $exit_code_expectation_file != "" ]] && ask_expectation_update "$exit_code_expected" "$exit_code_expectation_file"
[[ $exit_code_expectation_file != "" ]] && ask_expectation_update "$exitCode" "$exit_code_expectation_file"
[[ $exit_code_expectation_file == "" ]] && exit 1
fi