mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not insert SPDX identifier if already present in SyntaxTest
This commit is contained in:
committed by
Kamil Śliwak
parent
5bbb017915
commit
6f1f0c5bbc
@@ -50,6 +50,9 @@ public:
|
||||
TestResult run(std::ostream& _stream, std::string const& _linePrefix = "", bool _formatted = false) override;
|
||||
|
||||
protected:
|
||||
/// Returns @param _sourceCode prefixed with the version pragma and the SPDX license identifier.
|
||||
static std::string addPreamble(std::string const& _sourceCode);
|
||||
|
||||
void setupCompiler();
|
||||
void parseAndAnalyze() override;
|
||||
virtual void filterObtainedErrors();
|
||||
|
||||
Reference in New Issue
Block a user