diff --git a/test/libsolidity/AnalysisFramework.h b/test/libsolidity/AnalysisFramework.h index 8eae8c125..3fcb9e74a 100644 --- a/test/libsolidity/AnalysisFramework.h +++ b/test/libsolidity/AnalysisFramework.h @@ -153,19 +153,6 @@ do \ } \ while(0) -#define CHECK_SUCCESS_OR_WARNING(text, substring) \ -do \ -{ \ - auto sourceAndError = parseAnalyseAndReturnError((text), true); \ - auto const& errors = sourceAndError.second; \ - if (!errors.empty()) \ - { \ - auto message = searchErrors(errors, {{(Error::Type::Warning), (substring)}}); \ - BOOST_CHECK_MESSAGE(message.empty(), message); \ - } \ -} \ -while(0) - } } }