diff options
author | chriseth <chris@ethereum.org> | 2018-02-24 02:29:57 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-03-02 00:19:35 +0800 |
commit | 7b0272ccfbfbe547cea3fea5a941645b1da2cd27 (patch) | |
tree | 1d7853f25a7282d53a34ca201a58b5e830e2ec32 | |
parent | 1e26011d2cdb11b2df089fa97e2ab15ac329a45c (diff) | |
download | dexon-solidity-7b0272ccfbfbe547cea3fea5a941645b1da2cd27.tar.gz dexon-solidity-7b0272ccfbfbe547cea3fea5a941645b1da2cd27.tar.zst dexon-solidity-7b0272ccfbfbe547cea3fea5a941645b1da2cd27.zip |
CREATE2 test fix.
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index f92cd47c..e3cde5d6 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -7099,7 +7099,7 @@ BOOST_AUTO_TEST_CASE(create2_as_variable) )"; CHECK_ALLOW_MULTI(text, (std::vector<std::pair<Error::Type, std::string>>{ {Error::Type::Warning, "Variable is shadowed in inline assembly by an instruction of the same name"}, - {Error::Type::Warning, "only available after the Metropolis"}, + {Error::Type::Warning, "The \"create2\" instruction is not supported by the VM version"}, {Error::Type::DeclarationError, "Unbalanced stack"} })); } |