Modify the expectation files in ASTJSON tests

The following changes to expecation files are required for the ASTJSON
tests to pass:

* remove trailing spaces in ASTJSON tests
* replace indention tabs with 2 spaces in ASTJSON tests
* remove the space between the key and the colon in ASTJSON tests
This commit is contained in:
Gaith Hallak
2019-10-02 19:14:41 +03:00
parent 9d34d7de2f
commit 6c7e849431
50 changed files with 7893 additions and 7893 deletions
@@ -1,105 +1,105 @@
{
"attributes" :
{
"absolutePath" : "a",
"exportedSymbols" :
{
"C1" :
[
1
],
"C2" :
[
4
]
}
},
"children" :
[
{
"attributes" :
{
"baseContracts" :
[
null
],
"contractDependencies" :
[
null
],
"contractKind" : "contract",
"documentation" : null,
"fullyImplemented" : true,
"linearizedBaseContracts" :
[
1
],
"name" : "C1",
"nodes" :
[
null
],
"scope" : 5
},
"id" : 1,
"name" : "ContractDefinition",
"src" : "0:14:1"
},
{
"attributes" :
{
"contractDependencies" :
[
1
],
"contractKind" : "contract",
"documentation" : null,
"fullyImplemented" : true,
"linearizedBaseContracts" :
[
4,
1
],
"name" : "C2",
"nodes" :
[
null
],
"scope" : 5
},
"children" :
[
{
"attributes" :
{
"arguments" : null
},
"children" :
[
{
"attributes" :
{
"contractScope" : null,
"name" : "C1",
"referencedDeclaration" : 1,
"type" : "contract C1"
},
"id" : 2,
"name" : "UserDefinedTypeName",
"src" : "30:2:1"
}
],
"id" : 3,
"name" : "InheritanceSpecifier",
"src" : "30:2:1"
}
],
"id" : 4,
"name" : "ContractDefinition",
"src" : "15:20:1"
}
],
"id" : 5,
"name" : "SourceUnit",
"src" : "0:36:1"
"attributes":
{
"absolutePath": "a",
"exportedSymbols":
{
"C1":
[
1
],
"C2":
[
4
]
}
},
"children":
[
{
"attributes":
{
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"linearizedBaseContracts":
[
1
],
"name": "C1",
"nodes":
[
null
],
"scope": 5
},
"id": 1,
"name": "ContractDefinition",
"src": "0:14:1"
},
{
"attributes":
{
"contractDependencies":
[
1
],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"linearizedBaseContracts":
[
4,
1
],
"name": "C2",
"nodes":
[
null
],
"scope": 5
},
"children":
[
{
"attributes":
{
"arguments": null
},
"children":
[
{
"attributes":
{
"contractScope": null,
"name": "C1",
"referencedDeclaration": 1,
"type": "contract C1"
},
"id": 2,
"name": "UserDefinedTypeName",
"src": "30:2:1"
}
],
"id": 3,
"name": "InheritanceSpecifier",
"src": "30:2:1"
}
],
"id": 4,
"name": "ContractDefinition",
"src": "15:20:1"
}
],
"id": 5,
"name": "SourceUnit",
"src": "0:36:1"
}