Merge pull request #14321 from ethereum/fix-bash-syntax-error-on-expectation-update-in-cli-tests

Fix Bash syntax error that shows up in CLI test output when updating expectations
This commit is contained in:
Kamil Śliwak
2023-06-14 16:03:40 +02:00
committed by GitHub
+1 -1
View File
@@ -115,7 +115,7 @@ function update_expectation {
local newExpectation="${1}"
local expectationFile="${2}"
if [[ $newExpectation == "" || $newExpectation -eq 0 && $expectationFile == */exit ]]
if [[ $newExpectation == '' || $newExpectation == '0' && $expectationFile == */exit ]]
then
if [[ -f $expectationFile ]]
then