aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SyntaxTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/SyntaxTest.h')
-rw-r--r--test/libsolidity/SyntaxTest.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/libsolidity/SyntaxTest.h b/test/libsolidity/SyntaxTest.h
index 0f151e66..d286f934 100644
--- a/test/libsolidity/SyntaxTest.h
+++ b/test/libsolidity/SyntaxTest.h
@@ -67,7 +67,7 @@ public:
}
static std::string errorMessage(Exception const& _e);
-private:
+protected:
static void printErrorList(
std::ostream& _stream,
std::vector<SyntaxTestError> const& _errors,
@@ -75,6 +75,8 @@ private:
bool const _formatted = false
);
+ virtual bool printExpectationAndError(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false);
+
static std::vector<SyntaxTestError> parseExpectations(std::istream& _stream);
std::string m_source;