Skip to content

Commit fb9d963

Browse files
superwhiskersactions-user
authored andcommitted
Apply pre-commit fixes
1 parent 71aaf18 commit fb9d963

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎application/PhasorDynamics/SimulationOptions.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ namespace GridKit
109109

110110
SimulationOptions options;
111111
options.solver_file = args.get("solver_file");
112-
options.serve = args.get<bool>("cosim-serve");
112+
options.serve = args.get<bool>("cosim-serve");
113113
if (!args["cosim-role"].empty())
114114
{
115115
options.role = args.get("cosim-role");

‎tests/UnitTests/Utilities/CliArgsTests.hpp‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,11 @@ namespace GridKit
235235
status *= argsAreBad(CommandLine{"app", "a.solver.json", "b.solver.json"});
236236
status *= argsAreBad(CommandLine{"app", "--solver-file", "a.solver.json"});
237237
status *=
238-
argsAreBad(CommandLine{"app", "a.solver.json", "--one", "1", "--one", "2"});
238+
argsAreBad(CommandLine{"app", "a.solver.json", "--one", "1", "--one", "2"});
239239
status *= argsAreBad(
240-
CommandLine{"app", "a.solver.json", "--item", "1", "--item", "2", "3"}
241-
);
240+
CommandLine{"app", "a.solver.json", "--item", "1", "--item", "2", "3"});
242241
status *= argsAreBad(
243-
CommandLine{"app", "a.solver.json", "--item", "1", "2", "--item", "3"}
244-
);
242+
CommandLine{"app", "a.solver.json", "--item", "1", "2", "--item", "3"});
245243
status *= argsAreBad(CommandLine{"app", "a.solver.json", "--item", "--flag"});
246244
status *= argsAreBad(CommandLine{"app", "a.solver.json", "--flag", "--flag"});
247245
status *= throws<std::runtime_error>(

0 commit comments

Comments
 (0)