Merge pull request #11237 from ethereum/fix-wrong-exit-code-update-in-cmdline-tests

Fix exit code update in cmdlineTests
This commit is contained in:
Kamil Śliwak 2021-04-13 13:34:57 +02:00 committed by GitHub
commit cc65b426d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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