mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Reformat command-line tests for generatedSources
This commit is contained in:
parent
b53b838b5b
commit
628e37c7a0
1
test/cmdlineTests/standard_generatedSources/args
Normal file
1
test/cmdlineTests/standard_generatedSources/args
Normal file
@ -0,0 +1 @@
|
|||||||
|
--pretty-json --json-indent 4 --allow-paths .
|
7
test/cmdlineTests/standard_generatedSources/in.sol
Normal file
7
test/cmdlineTests/standard_generatedSources/in.sol
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
|
pragma solidity >=0.0;
|
||||||
|
pragma abicoder v2;
|
||||||
|
|
||||||
|
contract A {
|
||||||
|
function f(uint[] memory) public view returns (uint256) {}
|
||||||
|
}
|
@ -1,20 +1,18 @@
|
|||||||
{
|
{
|
||||||
"language": "Solidity",
|
"language": "Solidity",
|
||||||
"sources": {
|
"sources": {
|
||||||
"a.sol": {
|
"a.sol": {"urls": ["standard_generatedSources/in.sol"]}
|
||||||
"content": "// SPDX-License-Identifier: GPL-3.0\npragma abicoder v2; contract A { function f(uint[] memory) public view returns (uint256) { } }"
|
},
|
||||||
}
|
"settings": {
|
||||||
},
|
"evmVersion": "petersburg",
|
||||||
"settings": {
|
"outputSelection": {
|
||||||
"evmVersion": "petersburg",
|
"*": {
|
||||||
"outputSelection": {
|
"A": [
|
||||||
"*": {
|
"evm.bytecode.object",
|
||||||
"A": [
|
"evm.deployedBytecode.generatedSources",
|
||||||
"evm.bytecode.object",
|
"evm.bytecode.generatedSources"
|
||||||
"evm.deployedBytecode.generatedSources",
|
]
|
||||||
"evm.bytecode.generatedSources"
|
}
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
--pretty-json --json-indent 4 --allow-paths .
|
@ -0,0 +1,7 @@
|
|||||||
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
|
pragma solidity >=0.0;
|
||||||
|
pragma abicoder v2;
|
||||||
|
|
||||||
|
contract A {
|
||||||
|
function f(uint[] memory) public view returns (uint256) {}
|
||||||
|
}
|
@ -1,21 +1,19 @@
|
|||||||
{
|
{
|
||||||
"language": "Solidity",
|
"language": "Solidity",
|
||||||
"sources": {
|
"sources": {
|
||||||
"a.sol": {
|
"a.sol": {"urls": ["standard_optimizer_generatedSources/in.sol"]}
|
||||||
"content": "// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.0;\npragma abicoder v2; contract A { function f(uint[] memory) public view returns (uint256) { } }"
|
},
|
||||||
}
|
"settings": {
|
||||||
},
|
"evmVersion": "petersburg",
|
||||||
"settings": {
|
"optimizer": {"enabled": true},
|
||||||
"evmVersion": "petersburg",
|
"outputSelection": {
|
||||||
"optimizer": { "enabled": true },
|
"*": {
|
||||||
"outputSelection": {
|
"A": [
|
||||||
"*": {
|
"evm.bytecode.object",
|
||||||
"A": [
|
"evm.deployedBytecode.generatedSources",
|
||||||
"evm.bytecode.object",
|
"evm.bytecode.generatedSources"
|
||||||
"evm.deployedBytecode.generatedSources",
|
]
|
||||||
"evm.bytecode.generatedSources"
|
}
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user