Update travis tests

pull/226/head
Josselin 6 years ago
parent 86eac6ce15
commit 62f5c6756c
  1. 12
      tests/expected_json/old_solc.sol.json.solc-version.json
  2. 1
      tests/expected_json/old_solc.sol.json.solc-version.txt
  3. 28
      tests/expected_json/pragma.0.4.24.pragma.json
  4. 37
      tests/expected_json/solc_version_incorrect.solc-version.json

@ -22,13 +22,11 @@
"starting_column": null,
"ending_column": null
},
"additional_fields": {
"directive": [
"solidity",
"0.4",
".21"
]
}
"directive": [
"solidity",
"0.4",
".21"
]
}
]
}

@ -1,5 +1,4 @@
INFO:Detectors:
Pragma version "0.4.21" allows old versions (None)
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#incorrect-version-of-solidity
INFO:Slither:/home/travis/build/crytic/slither/scripts/../tests/expected_json/old_solc.sol.json.solc-version.json exists already, the overwrite is prevented
INFO:Slither:tests/old_solc.sol.json analyzed (1 contracts), 1 result(s) found

@ -24,14 +24,12 @@
"starting_column": 1,
"ending_column": 25
},
"additional_fields": {
"directive": [
"solidity",
"^",
"0.4",
".24"
]
}
"directive": [
"solidity",
"^",
"0.4",
".23"
]
},
{
"type": "pragma",
@ -49,14 +47,12 @@
"starting_column": 1,
"ending_column": 25
},
"additional_fields": {
"directive": [
"solidity",
"^",
"0.4",
".24"
]
}
"directive": [
"solidity",
"^",
"0.4",
".24"
]
}
]
}

@ -24,17 +24,12 @@
"starting_column": 1,
"ending_column": 25
},
"additional_fields": {
"directive": [
"solidity",
">=",
"0.4",
".0",
"<",
"0.6",
".0"
]
}
"directive": [
"solidity",
"^",
"0.4",
".23"
]
}
]
},
@ -60,17 +55,15 @@
"starting_column": 1,
"ending_column": 32
},
"additional_fields": {
"directive": [
"solidity",
">=",
"0.4",
".0",
"<",
"0.6",
".0"
]
}
"directive": [
"solidity",
">=",
"0.4",
".0",
"<",
"0.6",
".0"
]
}
]
}

Loading…
Cancel
Save