Skip to content

Commit 69eeac3

Browse files
style: pre-commit.ci fixes
1 parent 19859fc commit 69eeac3

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

tests/AppTest.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,23 +1240,23 @@ TEST_CASE_METHOD(TApp, "ExpectedRangeParam", "[app]") {
12401240

12411241
app.add_option("-s")->required()->expected(2, 4);
12421242

1243-
args = { "-s", "one" };
1243+
args = {"-s", "one"};
12441244

12451245
CHECK_THROWS_AS(run(), CLI::ArgumentMismatch);
12461246

1247-
args = { "-s", "one", "two" };
1247+
args = {"-s", "one", "two"};
12481248

12491249
CHECK_NOTHROW(run());
12501250

1251-
args = { "-s", "one", "two","three" };
1251+
args = {"-s", "one", "two", "three"};
12521252

12531253
CHECK_NOTHROW(run());
12541254

1255-
args = { "-s", "one", "two", "three","four" };
1255+
args = {"-s", "one", "two", "three", "four"};
12561256

12571257
CHECK_NOTHROW(run());
12581258

1259-
args = { "-s", "one", "two", "three","four","five" };
1259+
args = {"-s", "one", "two", "three", "four", "five"};
12601260

12611261
CHECK_THROWS_AS(run(), CLI::ExtrasError);
12621262
}
@@ -1265,23 +1265,23 @@ TEST_CASE_METHOD(TApp, "ExpectedRangePositional", "[app]") {
12651265

12661266
app.add_option("arg")->required()->expected(2, 4);
12671267

1268-
args = {"one" };
1268+
args = {"one"};
12691269

12701270
CHECK_THROWS_AS(run(), CLI::ArgumentMismatch);
12711271

1272-
args = {"one", "two" };
1272+
args = {"one", "two"};
12731273

12741274
CHECK_NOTHROW(run());
12751275

1276-
args = {"one", "two","three" };
1276+
args = {"one", "two", "three"};
12771277

12781278
CHECK_NOTHROW(run());
12791279

1280-
args = {"one", "two", "three","four" };
1280+
args = {"one", "two", "three", "four"};
12811281

12821282
CHECK_NOTHROW(run());
12831283

1284-
args = {"one", "two", "three","four","five" };
1284+
args = {"one", "two", "three", "four", "five"};
12851285

12861286
CHECK_THROWS_AS(run(), CLI::ExtrasError);
12871287
}

0 commit comments

Comments
 (0)