mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Properly print sources in ASTJSONTest
This commit is contained in:
parent
dc5f7a7405
commit
4a7f2ddc6d
@ -281,7 +281,7 @@ void ASTJSONTest::printSource(ostream& _stream, string const& _linePrefix, bool
|
|||||||
for (auto const& source: m_sources)
|
for (auto const& source: m_sources)
|
||||||
{
|
{
|
||||||
if (m_sources.size() > 1 || source.first != "a")
|
if (m_sources.size() > 1 || source.first != "a")
|
||||||
_stream << _linePrefix << sourceDelimiter << source.first << endl << endl;
|
_stream << _linePrefix << sourceDelimiter << source.first << " ====" << endl << endl;
|
||||||
stringstream stream(source.second);
|
stringstream stream(source.second);
|
||||||
string line;
|
string line;
|
||||||
while (getline(stream, line))
|
while (getline(stream, line))
|
||||||
|
Loading…
Reference in New Issue
Block a user