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",
|
||||
"sources": {
|
||||
"a.sol": {
|
||||
"content": "// SPDX-License-Identifier: GPL-3.0\npragma abicoder v2; contract A { function f(uint[] memory) public view returns (uint256) { } }"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"evmVersion": "petersburg",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"A": [
|
||||
"evm.bytecode.object",
|
||||
"evm.deployedBytecode.generatedSources",
|
||||
"evm.bytecode.generatedSources"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
"language": "Solidity",
|
||||
"sources": {
|
||||
"a.sol": {"urls": ["standard_generatedSources/in.sol"]}
|
||||
},
|
||||
"settings": {
|
||||
"evmVersion": "petersburg",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"A": [
|
||||
"evm.bytecode.object",
|
||||
"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",
|
||||
"sources": {
|
||||
"a.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",
|
||||
"optimizer": { "enabled": true },
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"A": [
|
||||
"evm.bytecode.object",
|
||||
"evm.deployedBytecode.generatedSources",
|
||||
"evm.bytecode.generatedSources"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
"language": "Solidity",
|
||||
"sources": {
|
||||
"a.sol": {"urls": ["standard_optimizer_generatedSources/in.sol"]}
|
||||
},
|
||||
"settings": {
|
||||
"evmVersion": "petersburg",
|
||||
"optimizer": {"enabled": true},
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"A": [
|
||||
"evm.bytecode.object",
|
||||
"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