Skip to content

Commit

Permalink
Set CommandLineOptions.coloredOutput to a neutral value
Browse files Browse the repository at this point in the history
- It always gets overwritten anyway.
  • Loading branch information
cameel committed Jun 10, 2021
1 parent 5ba7d58 commit fcab7e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion solc/CommandLineParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ struct CommandLineOptions

// Output Formatting
bool prettyJson = false;
bool coloredOutput = true;
bool coloredOutput = false;
bool withErrorIds = false;

// Output Components
Expand Down
1 change: 1 addition & 0 deletions test/solc/CommandLineParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ BOOST_AUTO_TEST_CASE(no_options)

CommandLineOptions expectedOptions;
expectedOptions.sourceFilePaths = {"contract.sol"};
expectedOptions.coloredOutput = true;
expectedOptions.expectedExecutionsPerDeployment = 200;
expectedOptions.initializeModelChecker = true;
expectedOptions.modelCheckerSettings = {
Expand Down

0 comments on commit fcab7e0

Please sign in to comment.