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,87 +1,87 @@
|
||||
{
|
||||
"absolutePath" : "a",
|
||||
"exportedSymbols" :
|
||||
{
|
||||
"C" :
|
||||
[
|
||||
5
|
||||
],
|
||||
"L" :
|
||||
[
|
||||
1
|
||||
]
|
||||
},
|
||||
"id" : 6,
|
||||
"nodeType" : "SourceUnit",
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"baseContracts" : [],
|
||||
"contractDependencies" : [],
|
||||
"contractKind" : "library",
|
||||
"documentation" : null,
|
||||
"fullyImplemented" : true,
|
||||
"id" : 1,
|
||||
"linearizedBaseContracts" :
|
||||
[
|
||||
1
|
||||
],
|
||||
"name" : "L",
|
||||
"nodeType" : "ContractDefinition",
|
||||
"nodes" : [],
|
||||
"scope" : 6,
|
||||
"src" : "0:12:1"
|
||||
},
|
||||
{
|
||||
"baseContracts" : [],
|
||||
"contractDependencies" : [],
|
||||
"contractKind" : "contract",
|
||||
"documentation" : null,
|
||||
"fullyImplemented" : true,
|
||||
"id" : 5,
|
||||
"linearizedBaseContracts" :
|
||||
[
|
||||
5
|
||||
],
|
||||
"name" : "C",
|
||||
"nodeType" : "ContractDefinition",
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"id" : 4,
|
||||
"libraryName" :
|
||||
{
|
||||
"contractScope" : null,
|
||||
"id" : 2,
|
||||
"name" : "L",
|
||||
"nodeType" : "UserDefinedTypeName",
|
||||
"referencedDeclaration" : 1,
|
||||
"src" : "32:1:1",
|
||||
"typeDescriptions" :
|
||||
{
|
||||
"typeIdentifier" : "t_contract$_L_$1",
|
||||
"typeString" : "library L"
|
||||
}
|
||||
},
|
||||
"nodeType" : "UsingForDirective",
|
||||
"src" : "26:17:1",
|
||||
"typeName" :
|
||||
{
|
||||
"id" : 3,
|
||||
"name" : "uint",
|
||||
"nodeType" : "ElementaryTypeName",
|
||||
"src" : "38:4:1",
|
||||
"typeDescriptions" :
|
||||
{
|
||||
"typeIdentifier" : "t_uint256",
|
||||
"typeString" : "uint256"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"scope" : 6,
|
||||
"src" : "13:32:1"
|
||||
}
|
||||
],
|
||||
"src" : "0:46:1"
|
||||
"absolutePath": "a",
|
||||
"exportedSymbols":
|
||||
{
|
||||
"C":
|
||||
[
|
||||
5
|
||||
],
|
||||
"L":
|
||||
[
|
||||
1
|
||||
]
|
||||
},
|
||||
"id": 6,
|
||||
"nodeType": "SourceUnit",
|
||||
"nodes":
|
||||
[
|
||||
{
|
||||
"baseContracts": [],
|
||||
"contractDependencies": [],
|
||||
"contractKind": "library",
|
||||
"documentation": null,
|
||||
"fullyImplemented": true,
|
||||
"id": 1,
|
||||
"linearizedBaseContracts":
|
||||
[
|
||||
1
|
||||
],
|
||||
"name": "L",
|
||||
"nodeType": "ContractDefinition",
|
||||
"nodes": [],
|
||||
"scope": 6,
|
||||
"src": "0:12:1"
|
||||
},
|
||||
{
|
||||
"baseContracts": [],
|
||||
"contractDependencies": [],
|
||||
"contractKind": "contract",
|
||||
"documentation": null,
|
||||
"fullyImplemented": true,
|
||||
"id": 5,
|
||||
"linearizedBaseContracts":
|
||||
[
|
||||
5
|
||||
],
|
||||
"name": "C",
|
||||
"nodeType": "ContractDefinition",
|
||||
"nodes":
|
||||
[
|
||||
{
|
||||
"id": 4,
|
||||
"libraryName":
|
||||
{
|
||||
"contractScope": null,
|
||||
"id": 2,
|
||||
"name": "L",
|
||||
"nodeType": "UserDefinedTypeName",
|
||||
"referencedDeclaration": 1,
|
||||
"src": "32:1:1",
|
||||
"typeDescriptions":
|
||||
{
|
||||
"typeIdentifier": "t_contract$_L_$1",
|
||||
"typeString": "library L"
|
||||
}
|
||||
},
|
||||
"nodeType": "UsingForDirective",
|
||||
"src": "26:17:1",
|
||||
"typeName":
|
||||
{
|
||||
"id": 3,
|
||||
"name": "uint",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "38:4:1",
|
||||
"typeDescriptions":
|
||||
{
|
||||
"typeIdentifier": "t_uint256",
|
||||
"typeString": "uint256"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"scope": 6,
|
||||
"src": "13:32:1"
|
||||
}
|
||||
],
|
||||
"src": "0:46:1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user