Skip to content

Commit e8b0725

Browse files
committed
format
1 parent 07c940e commit e8b0725

File tree

3 files changed

+14
-20
lines changed

3 files changed

+14
-20
lines changed

src/tst/main.cpp

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,10 @@ int main(utki::span<const char*> args)
9090
// NOLINTNEXTLINE(bugprone-exception-escape)
9191
int main(int argc, const char** argv)
9292
{
93-
return tst::main(
94-
utki::make_span(
95-
argv, //
96-
argc
97-
)
98-
);
93+
return tst::main(utki::make_span(
94+
argv, //
95+
argc
96+
));
9997
}
10098

10199
#if CFG_OS == CFG_OS_WINDOWS
@@ -106,11 +104,9 @@ int WINAPI WinMain(
106104
int n_cmd_show // Window Show State
107105
)
108106
{
109-
return tst::main(
110-
utki::make_span(
111-
const_cast<const char**>(__argv), //
112-
__argc
113-
)
114-
);
107+
return tst::main(utki::make_span(
108+
const_cast<const char**>(__argv), //
109+
__argc
110+
));
115111
}
116112
#endif

src/tst/reporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ SOFTWARE.
2626

2727
#include "reporter.hxx"
2828

29-
#include <iostream>
3029
#include <fstream>
30+
#include <iostream>
3131
#include <ratio>
3232

3333
#include "settings.hxx"

src/tst/suite.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,11 @@ void suite::add(std::string id, utki::flags<flag> flags, std::function<void()> p
5454
#ifdef DEBUG
5555
auto r =
5656
#endif
57-
this->tests.insert(
58-
std::make_pair(
59-
std::move(id),
60-
// NOLINTNEXTLINE(modernize-use-designated-initializers)
61-
test_info{std::move(proc), flags}
62-
)
63-
);
57+
this->tests.insert(std::make_pair(
58+
std::move(id),
59+
// NOLINTNEXTLINE(modernize-use-designated-initializers)
60+
test_info{std::move(proc), flags}
61+
));
6462
ASSERT(r.second)
6563
}
6664

0 commit comments

Comments
 (0)