Formatting: Apply pre-commit to tests/src
This commit is contained in:
@@ -16,8 +16,9 @@ TEST(License, UnknownIdentifier)
|
||||
TEST(License, direct)
|
||||
{
|
||||
int posn {App::findLicense("CC_BY_40")};
|
||||
App::TLicenseArr tt {
|
||||
"CC_BY_40", "Creative Commons Attribution 4.0", "https://creativecommons.org/licenses/by/4.0/"};
|
||||
App::TLicenseArr tt {"CC_BY_40",
|
||||
"Creative Commons Attribution 4.0",
|
||||
"https://creativecommons.org/licenses/by/4.0/"};
|
||||
EXPECT_EQ(App::licenseItems.at(posn), tt);
|
||||
}
|
||||
|
||||
@@ -29,5 +30,3 @@ TEST(License, findLicenseByIdent)
|
||||
EXPECT_STREQ(arr.at(App::posnOfFullName), "Creative Commons Attribution 4.0");
|
||||
EXPECT_STREQ(arr.at(App::posnOfUrl), "https://creativecommons.org/licenses/by/4.0/");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user