mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix Bash syntax error that shows up in CLI tests when updating expectations
This commit is contained in:
parent
e44b8b9097
commit
f4217bdc2c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user