fix merge conflicts with tests

pull/852/head
Nikhil Parasaram 6 years ago
parent f70121cefa
commit 2b668a7a4f
  1. 4
      tests/testdata/outputs_expected/overflow.sol.o.json
  2. 12
      tests/testdata/outputs_expected/overflow.sol.o.jsonv2
  3. 4
      tests/testdata/outputs_expected/underflow.sol.o.json

@ -1,7 +1,6 @@
{
"error": null,
"issues": [{
"SourceMap": null,
"address": 567,
"contract": "Unknown",
"debug": "<DEBUG-DATA>",
@ -10,10 +9,10 @@
"max_gas_used": 1774,
"min_gas_used": 1299,
"severity": "High",
"sourceMap": null,
"swc-id": "101",
"title": "Integer Underflow"
}, {
"SourceMap": null,
"address": 649,
"contract": "Unknown",
"debug": "<DEBUG-DATA>",
@ -22,6 +21,7 @@
"max_gas_used": 1774,
"min_gas_used": 1299,
"severity": "High",
"sourceMap": null,
"swc-id": "101",
"title": "Integer Underflow"
}],

@ -1,27 +1,27 @@
{
"issues": [{
"description": {
"head": ["The subtraction can underflow."],
"tail": ["The binary subtraction operation can result in an integer underflow.\n"]
"head": "The subtraction can underflow.",
"tail": "The binary subtraction operation can result in an integer underflow.\n"
},
"extra": {},
"locations": [{
"sourceMap": "567:1:0"
}],
"severity": "High",
"swcID": "101",
"swcID": "SWC-101",
"swcTitle": "Integer Overflow and Underflow"
}, {
"description": {
"head": ["The subtraction can underflow."],
"tail": ["The binary subtraction operation can result in an integer underflow.\n"]
"head": "The subtraction can underflow.",
"tail": "The binary subtraction operation can result in an integer underflow.\n"
},
"extra": {},
"locations": [{
"sourceMap": "649:1:0"
}],
"severity": "High",
"swcID": "101",
"swcID": "SWC-101",
"swcTitle": "Integer Overflow and Underflow"
}],
"meta": {},

@ -1,7 +1,6 @@
{
"error": null,
"issues": [{
"SourceMap": null,
"address": 567,
"contract": "Unknown",
"debug": "<DEBUG-DATA>",
@ -10,10 +9,10 @@
"max_gas_used": 1774,
"min_gas_used": 1299,
"severity": "High",
"sourceMap": null,
"swc-id": "101",
"title": "Integer Underflow"
}, {
"SourceMap": null,
"address": 649,
"contract": "Unknown",
"debug": "<DEBUG-DATA>",
@ -22,6 +21,7 @@
"max_gas_used": 1774,
"min_gas_used": 1299,
"severity": "High",
"sourceMap": null,
"swc-id": "101",
"title": "Integer Underflow"
}],

Loading…
Cancel
Save