[test] cmdLineTests: add test that checks behavior of non unique sources.

This commit is contained in:
Alexander Arlt 2023-04-26 20:09:20 -05:00
parent 136da0c74c
commit 1aac4d1a4c
4 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1 @@
--asm-json --import-asm-json -

View File

@ -0,0 +1 @@
Assembly Import Error: Items in 'sourceList' array are not unique.

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1,23 @@
{
".code": [
{
"name": "PUSH",
"value": "0"
}
],
".data": {
"0": {
".code": [
{
"name": "PUSH",
"value": "1"
}
]
}
},
"sourceList": [
"contract.sol",
"contract.sol",
"#utility.yul"
]
}