Format like smack-a-brother, and write comments as sentences
Four-space indents, braces on their own lines, and one-statement bodies without braces. Semicolons in comments became full stops. Designated initializers may leave fields out without a warning.
This commit is contained in:
1 parent
40f6b554b5
commit
7afdf709c3
176 files changed
+20500
-19048
No files matched your search
+8
-8
@@ -2,12 +2,12 @@
|
||||
|
||||
TEST_CASE("fixtures match goldens")
|
||||
{
|
||||
auto fixtures = fixtures_get();
|
||||
REQUIRE(!fixtures.empty());
|
||||
for (auto& fixture : fixtures)
|
||||
{
|
||||
auto anm2 = model_load(file_load(fixture));
|
||||
for (auto& [name, text] : variants_get(anm2))
|
||||
golden_check(GOLDEN_DIR / std::format("{}.{}.xml", fixture.stem().string(), name), text);
|
||||
}
|
||||
auto fixtures = fixtures_get();
|
||||
REQUIRE(!fixtures.empty());
|
||||
for (auto& fixture : fixtures)
|
||||
{
|
||||
auto anm2 = model_load(file_load(fixture));
|
||||
for (auto& [name, text] : variants_get(anm2))
|
||||
golden_check(GOLDEN_DIR / std::format("{}.{}.xml", fixture.stem().string(), name), text);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user