mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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:
@@ -1,78 +1,78 @@
|
||||
{
|
||||
"attributes" :
|
||||
{
|
||||
"absolutePath" : "a",
|
||||
"exportedSymbols" :
|
||||
{
|
||||
"C" :
|
||||
[
|
||||
4
|
||||
]
|
||||
}
|
||||
},
|
||||
"children" :
|
||||
[
|
||||
{
|
||||
"attributes" :
|
||||
{
|
||||
"baseContracts" :
|
||||
[
|
||||
null
|
||||
],
|
||||
"contractDependencies" :
|
||||
[
|
||||
null
|
||||
],
|
||||
"contractKind" : "contract",
|
||||
"documentation" : null,
|
||||
"fullyImplemented" : true,
|
||||
"linearizedBaseContracts" :
|
||||
[
|
||||
4
|
||||
],
|
||||
"name" : "C",
|
||||
"scope" : 5
|
||||
},
|
||||
"children" :
|
||||
[
|
||||
{
|
||||
"attributes" :
|
||||
{
|
||||
"canonicalName" : "C.E",
|
||||
"name" : "E"
|
||||
},
|
||||
"children" :
|
||||
[
|
||||
{
|
||||
"attributes" :
|
||||
{
|
||||
"name" : "A"
|
||||
},
|
||||
"id" : 1,
|
||||
"name" : "EnumValue",
|
||||
"src" : "22:1:1"
|
||||
},
|
||||
{
|
||||
"attributes" :
|
||||
{
|
||||
"name" : "B"
|
||||
},
|
||||
"id" : 2,
|
||||
"name" : "EnumValue",
|
||||
"src" : "25:1:1"
|
||||
}
|
||||
],
|
||||
"id" : 3,
|
||||
"name" : "EnumDefinition",
|
||||
"src" : "13:15:1"
|
||||
}
|
||||
],
|
||||
"id" : 4,
|
||||
"name" : "ContractDefinition",
|
||||
"src" : "0:30:1"
|
||||
}
|
||||
],
|
||||
"id" : 5,
|
||||
"name" : "SourceUnit",
|
||||
"src" : "0:31:1"
|
||||
"attributes":
|
||||
{
|
||||
"absolutePath": "a",
|
||||
"exportedSymbols":
|
||||
{
|
||||
"C":
|
||||
[
|
||||
4
|
||||
]
|
||||
}
|
||||
},
|
||||
"children":
|
||||
[
|
||||
{
|
||||
"attributes":
|
||||
{
|
||||
"baseContracts":
|
||||
[
|
||||
null
|
||||
],
|
||||
"contractDependencies":
|
||||
[
|
||||
null
|
||||
],
|
||||
"contractKind": "contract",
|
||||
"documentation": null,
|
||||
"fullyImplemented": true,
|
||||
"linearizedBaseContracts":
|
||||
[
|
||||
4
|
||||
],
|
||||
"name": "C",
|
||||
"scope": 5
|
||||
},
|
||||
"children":
|
||||
[
|
||||
{
|
||||
"attributes":
|
||||
{
|
||||
"canonicalName": "C.E",
|
||||
"name": "E"
|
||||
},
|
||||
"children":
|
||||
[
|
||||
{
|
||||
"attributes":
|
||||
{
|
||||
"name": "A"
|
||||
},
|
||||
"id": 1,
|
||||
"name": "EnumValue",
|
||||
"src": "22:1:1"
|
||||
},
|
||||
{
|
||||
"attributes":
|
||||
{
|
||||
"name": "B"
|
||||
},
|
||||
"id": 2,
|
||||
"name": "EnumValue",
|
||||
"src": "25:1:1"
|
||||
}
|
||||
],
|
||||
"id": 3,
|
||||
"name": "EnumDefinition",
|
||||
"src": "13:15:1"
|
||||
}
|
||||
],
|
||||
"id": 4,
|
||||
"name": "ContractDefinition",
|
||||
"src": "0:30:1"
|
||||
}
|
||||
],
|
||||
"id": 5,
|
||||
"name": "SourceUnit",
|
||||
"src": "0:31:1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user