Fix inconsistent indentation in scripts/

- NOT reindenting all files. Just choosing one style in files that were using multiple.
This commit is contained in:
Kamil Śliwak
2020-04-17 19:09:02 +02:00
parent 96ea8b3148
commit a80b032081
10 changed files with 77 additions and 77 deletions
+7 -7
View File
@@ -21,8 +21,8 @@ UNCOMPILABLE=0
TESTED=0
if [ $(ls | wc -l) -ne 0 ]; then
echo "Test directory not empty. Skipping!"
exit -1
echo "Test directory not empty. Skipping!"
exit -1
fi
# function tests whether exporting and importing again leaves the JSON ast unchanged
@@ -40,11 +40,11 @@ function testImportExportEquivalence {
$SOLC --import-ast --combined-json ast,compact-format --pretty-json expected.json > obtained.json 2> /dev/null
if [ $? -ne 0 ]
then
# For investigating, use exit 1 here so the script stops at the
# first failing test
# exit 1
FAILED=$((FAILED + 1))
return 1
# For investigating, use exit 1 here so the script stops at the
# first failing test
# exit 1
FAILED=$((FAILED + 1))
return 1
fi
DIFF="$(diff expected.json obtained.json)"
if [ "$DIFF" != "" ]