diff options
author | chriseth <chris@ethereum.org> | 2018-11-14 07:19:20 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-11-14 07:41:34 +0800 |
commit | 80fcd1aeb612b621aed4e937d50f10655dd6b1e5 (patch) | |
tree | def0a29d6cd3415ef93f8ca58cf5f1f5f1c3507f /test/cmdlineTests.sh | |
parent | 74ede87a4aed4dcf0995480d8e809f4aa2e848df (diff) | |
download | dexon-solidity-80fcd1aeb612b621aed4e937d50f10655dd6b1e5.tar.gz dexon-solidity-80fcd1aeb612b621aed4e937d50f10655dd6b1e5.tar.zst dexon-solidity-80fcd1aeb612b621aed4e937d50f10655dd6b1e5.zip |
Fix commandline tests.
Diffstat (limited to 'test/cmdlineTests.sh')
-rwxr-xr-x | test/cmdlineTests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmdlineTests.sh b/test/cmdlineTests.sh index b0b545f3..4838d088 100755 --- a/test/cmdlineTests.sh +++ b/test/cmdlineTests.sh @@ -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)." |