Skip to content

Commit

Permalink
Merge pull request ethereum#14321 from ethereum/fix-bash-syntax-error…
Browse files Browse the repository at this point in the history
…-on-expectation-update-in-cli-tests

Fix Bash syntax error that shows up in CLI test output when updating expectations
  • Loading branch information
cameel authored Jun 14, 2023
2 parents 25f329e + f4217bd commit 4e11382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cmdlineTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e11382

Please sign in to comment.