diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-21 22:48:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-21 22:48:05 +0800 |
commit | 5dd3ee2d9657f18b9b2797755e1216b93b67316c (patch) | |
tree | 35061bccccac5d6ebd2e7dce945255fabaf66c9a /test | |
parent | 8f96fe698df64b5f35b7177621d4861b85167957 (diff) | |
parent | a51517390078df02be6cc57586f4f1c142440144 (diff) | |
download | dexon-solidity-5dd3ee2d9657f18b9b2797755e1216b93b67316c.tar.gz dexon-solidity-5dd3ee2d9657f18b9b2797755e1216b93b67316c.tar.zst dexon-solidity-5dd3ee2d9657f18b9b2797755e1216b93b67316c.zip |
Merge pull request #5050 from ethereum/standard-json-crashes
Add proper error reporting when invalid settings are provided in StandardJSON
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/StandardCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/StandardCompiler.cpp b/test/libsolidity/StandardCompiler.cpp index 3aa1dc24..d34bacda 100644 --- a/test/libsolidity/StandardCompiler.cpp +++ b/test/libsolidity/StandardCompiler.cpp @@ -640,7 +640,7 @@ BOOST_AUTO_TEST_CASE(libraries_invalid_entry) } )"; Json::Value result = compile(input); - BOOST_CHECK(containsError(result, "JSONError", "library entry is not a JSON object.")); + BOOST_CHECK(containsError(result, "JSONError", "Library entry is not a JSON object.")); } BOOST_AUTO_TEST_CASE(libraries_invalid_hex) |