mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix commandline tests.
This commit is contained in:
parent
74ede87a4a
commit
80fcd1aeb6
@ -124,7 +124,7 @@ test_solc_file_input_failures() {
|
||||
set -e
|
||||
|
||||
sed -i -e '/^Warning: This is a pre-release compiler version, please do not use it in production./d' "$stderr_path"
|
||||
sed -i -e 's/ \?Consider adding "pragma .*$//' "$stderr_path"
|
||||
sed -i -e 's/ Consider adding "pragma .*$//' "$stderr_path"
|
||||
|
||||
if [[ $exitCode -eq 0 ]]; then
|
||||
printError "Incorrect exit code. Expected failure (non-zero) but got success (0)."
|
||||
|
Loading…
Reference in New Issue
Block a user