mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[test] cmdLineTests: add test that checks behavior of non unique sources.
This commit is contained in:
parent
136da0c74c
commit
1aac4d1a4c
@ -0,0 +1 @@
|
||||
--asm-json --import-asm-json -
|
1
test/cmdlineTests/asm_json_import_non_unique_sources/err
Normal file
1
test/cmdlineTests/asm_json_import_non_unique_sources/err
Normal file
@ -0,0 +1 @@
|
||||
Assembly Import Error: Items in 'sourceList' array are not unique.
|
@ -0,0 +1 @@
|
||||
1
|
23
test/cmdlineTests/asm_json_import_non_unique_sources/stdin
Normal file
23
test/cmdlineTests/asm_json_import_non_unique_sources/stdin
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
".code": [
|
||||
{
|
||||
"name": "PUSH",
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
".data": {
|
||||
"0": {
|
||||
".code": [
|
||||
{
|
||||
"name": "PUSH",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"sourceList": [
|
||||
"contract.sol",
|
||||
"contract.sol",
|
||||
"#utility.yul"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user