Fix commandline tests.

This commit is contained in:
chriseth 2018-11-14 00:19:20 +01:00
parent 74ede87a4a
commit 80fcd1aeb6

View File

@ -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)."